diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-01-17 19:52:26 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-01-18 00:02:09 +0300 |
commit | 8fac013d9c111c63977b3ccce58fb04495f10bc0 (patch) | |
tree | 08abac1db0397d5020d6a3339e7e74f4dd900835 /features/steps/project/redirects.rb | |
parent | 822bf2f91c536870848df7b6f333d81fe7c89ead (diff) |
Remove repository trait from factories that don't need it in features
Diffstat (limited to 'features/steps/project/redirects.rb')
-rw-r--r-- | features/steps/project/redirects.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/project/redirects.rb b/features/steps/project/redirects.rb index a6a124eed0c..92936f27c20 100644 --- a/features/steps/project/redirects.rb +++ b/features/steps/project/redirects.rb @@ -4,11 +4,11 @@ class Spinach::Features::ProjectRedirects < Spinach::FeatureSteps include SharedProject step 'public project "Community"' do - create(:project, :public, :repository, name: 'Community') + create(:empty_project, :public, name: 'Community') end step 'private project "Enterprise"' do - create(:project, :repository, name: 'Enterprise') + create(:empty_project, :private, name: 'Enterprise') end step 'I visit project "Community" page' do |