diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-01-17 07:09:57 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-01-18 00:02:08 +0300 |
commit | 822bf2f91c536870848df7b6f333d81fe7c89ead (patch) | |
tree | 8f8327088848b6ed08031d15ad7e6971540d01e0 /features/steps/project/merge_requests/revert.rb | |
parent | a8b4ab9da4b8d6338ab035c24f0be3d1dea556bb (diff) |
Add the `:repository` trait to `:project` factories in Cucumber steps
Diffstat (limited to 'features/steps/project/merge_requests/revert.rb')
-rw-r--r-- | features/steps/project/merge_requests/revert.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/project/merge_requests/revert.rb b/features/steps/project/merge_requests/revert.rb index efbc4831ce1..3cc4fe9dafb 100644 --- a/features/steps/project/merge_requests/revert.rb +++ b/features/steps/project/merge_requests/revert.rb @@ -35,7 +35,7 @@ class Spinach::Features::RevertMergeRequests < Spinach::FeatureSteps step 'There is an open Merge Request' do @user = create(:user) - @project = create(:project, :public) + @project = create(:project, :public, :repository) @project_member = create(:project_member, :developer, user: @user, project: @project) @merge_request = create(:merge_request, :with_diffs, :simple, source_project: @project) end |