diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-07-19 14:08:47 +0300 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-07-21 11:22:09 +0300 |
commit | 2086483b24e719ec8d82b3e7a52476626952885a (patch) | |
tree | a7d8fe979a0e2309b7517804e452d7162ccd422b /features | |
parent | eaceee0fb9e23982571c9c2a878d662ba241240e (diff) |
Rename build to pipeline for status badges
First commit in probably 2, for resolve gitlab-org/gitlab-ce#15582. This
commit is renaming files and classes from build to pipeline. Also
wording is editted to pipeline. Given `pipeline` had more characters
than `build`, I've made the field a bit wider. The width now matchers
the one for the coverage badge, so they look nice when in a table
format, or in a list.
As soon as this commit is merged to master, and released, the build.svg
is deprecated, meaning that all users which already placed a badge
should update it. However, to make sure it keeps working tests are added
for this case.
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/badges/build.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/project/badges/build.rb b/features/steps/project/badges/build.rb index 5a9094ee9d3..a9dd6e82595 100644 --- a/features/steps/project/badges/build.rb +++ b/features/steps/project/badges/build.rb @@ -5,7 +5,7 @@ class Spinach::Features::ProjectBadgesBuild < Spinach::FeatureSteps include RepoHelpers step 'I display builds badge for a master branch' do - visit build_project_badges_path(@project, ref: :master, format: :svg) + visit pipeline_project_badges_path(@project, ref: :master, format: :svg) end step 'I should see a build success badge' do |