summaryrefslogtreecommitdiff
path: root/features/steps/profile
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-01-16 23:09:57 -0500
committerRobert Speicher <rspeicher@gmail.com>2017-01-17 16:02:08 -0500
commit822bf2f91c536870848df7b6f333d81fe7c89ead (patch)
tree8f8327088848b6ed08031d15ad7e6971540d01e0 /features/steps/profile
parenta8b4ab9da4b8d6338ab035c24f0be3d1dea556bb (diff)
downloadgitlab-ce-822bf2f91c536870848df7b6f333d81fe7c89ead.tar.gz
Add the `:repository` trait to `:project` factories in Cucumber steps
Diffstat (limited to 'features/steps/profile')
-rw-r--r--features/steps/profile/profile.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/profile/profile.rb b/features/steps/profile/profile.rb
index ea480d2ad68..24cfbaad7fe 100644
--- a/features/steps/profile/profile.rb
+++ b/features/steps/profile/profile.rb
@@ -162,7 +162,7 @@ class Spinach::Features::Profile < Spinach::FeatureSteps
step 'I have group with projects' do
@group = create(:group)
@group.add_owner(current_user)
- @project = create(:project, namespace: @group)
+ @project = create(:project, :repository, namespace: @group)
@event = create(:closed_issue_event, project: @project)
@project.team << [current_user, :master]