From a3a63eeb92f5cc660dc3f03e2d7249e4b5f04acf Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Tue, 28 Aug 2012 21:13:22 -0400 Subject: 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. --- spec/support/stubbed_repository.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/support') 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 -- cgit v1.2.1