diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-02-08 12:42:35 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-02-11 10:29:14 +0100 |
commit | 29f2600ab6b04d95c7ef4fbfea7c4c9ecf638e97 (patch) | |
tree | 4e9b93744fda798dd661e8cdd51f0f97c293da0f /features/steps/shared/builds.rb | |
parent | cf0eab504772c05b067ca60f78bc76779342c912 (diff) | |
download | gitlab-ce-29f2600ab6b04d95c7ef4fbfea7c4c9ecf638e97.tar.gz |
Improve build badge tests, add another test case
Diffstat (limited to 'features/steps/shared/builds.rb')
-rw-r--r-- | features/steps/shared/builds.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/features/steps/shared/builds.rb b/features/steps/shared/builds.rb index 055ebe1c815..7e1d9bb4056 100644 --- a/features/steps/shared/builds.rb +++ b/features/steps/shared/builds.rb @@ -18,6 +18,10 @@ module SharedBuilds @build.update_column(:status, 'failed') end + step 'project has an another build that is running' do + create(:ci_build, commit: @ci_commit, name: 'second build', status: 'running') + end + step 'I visit recent build details page' do visit namespace_project_build_path(@project.namespace, @project, @build) end |