summaryrefslogtreecommitdiff
path: root/features/steps/shared/project.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/shared/project.rb')
-rw-r--r--features/steps/shared/project.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/features/steps/shared/project.rb b/features/steps/shared/project.rb
index b60ac5e3423..24136fe421c 100644
--- a/features/steps/shared/project.rb
+++ b/features/steps/shared/project.rb
@@ -14,6 +14,12 @@ module SharedProject
@project.team << [@user, :master]
end
+ step 'I disable issues and merge requests in project' do
+ @project.issues_enabled = false
+ @project.merge_requests_enabled = false
+ @project.save
+ end
+
# Add another user to project "Shop"
step 'I add a user to project "Shop"' do
@project = Project.find_by(name: "Shop")