summaryrefslogtreecommitdiff
path: root/features/steps
diff options
context:
space:
mode:
authorJacob Schatz <jschatz@gitlab.com>2016-07-07 21:17:23 +0000
committerJacob Schatz <jschatz@gitlab.com>2016-07-07 21:17:23 +0000
commit5541e55c491eb86567c8c1f28457e894a4155dd1 (patch)
tree1fd84776d751c33665aca26c1e4d4eac624fd295 /features/steps
parent86d238e4bda6424a79eb9d8ea7cfe41af714f49f (diff)
parente486bbfd34bc962ddc6e7a0433a5b0cce74603a7 (diff)
downloadgitlab-ce-5541e55c491eb86567c8c1f28457e894a4155dd1.tar.gz
Merge branch 'issues-blank-state' into 'master'
Added blank state to issues ## What does this MR do? Adds new blank state to issues when no issues exist. Part of #18519 ## Screenshots (if relevant) ![Screen_Shot_2016-06-24_at_16.37.12](/uploads/0c3f385615b29216ef1137bd6fac06af/Screen_Shot_2016-06-24_at_16.37.12.png) See merge request !4908
Diffstat (limited to 'features/steps')
-rw-r--r--features/steps/shared/project.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/features/steps/shared/project.rb b/features/steps/shared/project.rb
index b3411c03118..0b4920883b8 100644
--- a/features/steps/shared/project.rb
+++ b/features/steps/shared/project.rb
@@ -223,6 +223,11 @@ module SharedProject
create(:label, project: project, title: 'enhancement')
end
+ step 'project "Shop" has issue: "bug report"' do
+ project = Project.find_by(name: "Shop")
+ create(:issue, project: project, title: "bug report")
+ end
+
step 'project "Shop" has CI enabled' do
project = Project.find_by(name: "Shop")
project.enable_ci