Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-31 16:39:01 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-31 16:39:01 +0400
commitf82b9e48ec038a3718aeeeb248b0a01c9f88fa33 (patch)
tree09ce291c73eef9dfac631127c313d02d5b78d61b /spec/factories.rb
parent833bc305933bbf7b8b06d5464ae5716ccbe82674 (diff)
Dont stub gitlab-shell calls. Make test environment closer to real one
Diffstat (limited to 'spec/factories.rb')
-rw-r--r--spec/factories.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/factories.rb b/spec/factories.rb
index ad4c56986c3..5ad410ac5de 100644
--- a/spec/factories.rb
+++ b/spec/factories.rb
@@ -61,9 +61,7 @@ FactoryGirl.define do
path { 'gitlabhq' }
after :create do |project|
- TestEnv.clear_repo_dir(project.namespace, project.path)
- TestEnv.reset_satellite_dir
- TestEnv.create_repo(project.namespace, project.path)
+ TestEnv.copy_repo(project)
end
end