summaryrefslogtreecommitdiff
path: root/features/steps/groups.rb
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/groups.rb
parenta8b4ab9da4b8d6338ab035c24f0be3d1dea556bb (diff)
downloadgitlab-ce-822bf2f91c536870848df7b6f333d81fe7c89ead.tar.gz
Add the `:repository` trait to `:project` factories in Cucumber steps
Diffstat (limited to 'features/steps/groups.rb')
-rw-r--r--features/steps/groups.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/groups.rb b/features/steps/groups.rb
index 0c88838767c..b6684226b33 100644
--- a/features/steps/groups.rb
+++ b/features/steps/groups.rb
@@ -109,7 +109,7 @@ class Spinach::Features::Groups < Spinach::FeatureSteps
step 'Group "Owned" has archived project' do
group = Group.find_by(name: 'Owned')
- @archived_project = create(:project, namespace: group, archived: true, path: "archived-project")
+ @archived_project = create(:project, :repository, namespace: group, archived: true, path: "archived-project")
end
step 'I should see "archived" label' do