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.
This commit is contained in:
parent
a39cfb5461
commit
a3a63eeb92
6 changed files with 28 additions and 28 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue