summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-07-27 09:58:06 +0200
committerRémy Coutable <remy@rymai.me>2017-07-27 09:58:06 +0200
commit05e152fa7f39c3ae9492159a6c29532a27b4b40a (patch)
tree8204ff069fdf5f7f1b5a20a5cc764a605a470fc3 /spec/factories
parenteb9ca0e7e1ea4c2151abc320199e844f794bda54 (diff)
downloadgitlab-ce-05e152fa7f39c3ae9492159a6c29532a27b4b40a.tar.gz
Fix the :project factory by not copying the test repo twicerc/fix-tests-factories
Also, fixing some calls to the :project factory with the :test_repo trait since this trait is already included in the :project factory. Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/projects.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/factories/projects.rb b/spec/factories/projects.rb
index 1bb2db11e7f..485ed48d2de 100644
--- a/spec/factories/projects.rb
+++ b/spec/factories/projects.rb
@@ -171,10 +171,6 @@ FactoryGirl.define do
end
after :create do |project, evaluator|
- TestEnv.copy_repo(project,
- bare_repo: TestEnv.factory_repo_path_bare,
- refs: TestEnv::BRANCH_SHA)
-
if evaluator.create_template
args = evaluator.create_template