diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-24 15:00:23 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-24 15:00:23 +0300 |
commit | 353d426e4e68006ba8cea90e2f6ad4e8956cb6a9 (patch) | |
tree | 280f42e1f77712113a7453ed74d3bc8b9ec068f6 /features/steps/shared/project.rb | |
parent | 3e866b2aa6d95008894910342d4cbedc8308ef2a (diff) |
Show CI status on Your projects page and Starred projects page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features/steps/shared/project.rb')
-rw-r--r-- | features/steps/shared/project.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/features/steps/shared/project.rb b/features/steps/shared/project.rb index a9cf426852e..fa841f67510 100644 --- a/features/steps/shared/project.rb +++ b/features/steps/shared/project.rb @@ -196,4 +196,14 @@ module SharedProject create(:label, project: project, title: 'feature') create(:label, project: project, title: 'enhancement') end + + step 'project "Shop" has CI enabled' do + project = Project.find_by(name: "Shop") + project.enable_ci(@user) + end + + step 'project "Shop" has CI build' do + project = Project.find_by(name: "Shop") + create :ci_commit, project: project.gitlab_ci_project, sha: project.commit.sha + end end |