summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-08-28 21:13:22 -0400
committerRobert Speicher <rspeicher@gmail.com>2012-08-28 21:22:49 -0400
commita3a63eeb92f5cc660dc3f03e2d7249e4b5f04acf (patch)
treef8a74fe256a7d0da86b39735e05555f844bba396 /spec/support
parenta39cfb54616fe156ba43ac3df2b771c3a11d2879 (diff)
downloadgitlab-ce-a3a63eeb92f5cc660dc3f03e2d7249e4b5f04acf.tar.gz
Remove all instances to 'gitlabhq_x' seed repositories from specs and features
We now need only one seed repo! Also cleans up the seeding script.
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/stubbed_repository.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/stubbed_repository.rb b/spec/support/stubbed_repository.rb
index 637754bac5b..8dd4f40e084 100644
--- a/spec/support/stubbed_repository.rb
+++ b/spec/support/stubbed_repository.rb
@@ -17,11 +17,11 @@ module StubbedRepository
if new_record? || path == 'newproject'
# There are a couple Project specs and features that expect the Project's
# path to be in the returned path, so let's patronize them.
- File.join(Rails.root, 'tmp', 'tests', path)
+ File.join(Rails.root, 'tmp', 'repositories', path)
else
# For everything else, just give it the path to one of our real seeded
# repos.
- File.join(Rails.root, 'tmp', 'tests', 'gitlabhq_0')
+ File.join(Rails.root, 'tmp', 'repositories', 'gitlabhq')
end
end