diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-02-11 10:27:53 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-02-11 10:29:15 +0100 |
commit | 9e6190485b2213c9dfdd3d5b22853fc6e2263c2a (patch) | |
tree | ac04168b9983fec0af96696dbab4dd23b2bd50e9 /features/steps/shared | |
parent | debaa813294f81d127e92bc75a3ae0751af7a316 (diff) | |
download | gitlab-ce-9e6190485b2213c9dfdd3d5b22853fc6e2263c2a.tar.gz |
Parse XML instead of HTML in tests for a SVG build badgefix/ci-build-status-badge
Diffstat (limited to 'features/steps/shared')
-rw-r--r-- | features/steps/shared/builds.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/shared/builds.rb b/features/steps/shared/builds.rb index 7e1d9bb4056..fa54c93df0f 100644 --- a/features/steps/shared/builds.rb +++ b/features/steps/shared/builds.rb @@ -10,7 +10,7 @@ module SharedBuilds @build = create(:ci_build, commit: @ci_commit) end - step 'recent build is successfull' do + step 'recent build is successful' do @build.update_column(:status, 'success') end @@ -18,7 +18,7 @@ module SharedBuilds @build.update_column(:status, 'failed') end - step 'project has an another build that is running' do + step 'project has another build that is running' do create(:ci_build, commit: @ci_commit, name: 'second build', status: 'running') end |