Commit 065375ca authored by Douwe Maan's avatar Douwe Maan

Use "Build passed" in tooltip instead of "Build status: passed"

parent f66454be
...@@ -46,7 +46,7 @@ module CiStatusHelper ...@@ -46,7 +46,7 @@ module CiStatusHelper
def render_ci_status(ci_commit) def render_ci_status(ci_commit)
link_to ci_status_path(ci_commit), link_to ci_status_path(ci_commit),
class: "c#{ci_status_color(ci_commit)}", class: "c#{ci_status_color(ci_commit)}",
title: "Build status: #{ci_commit.status}", title: "Build #{ci_commit.status}",
data: { toggle: 'tooltip', placement: 'left' } do data: { toggle: 'tooltip', placement: 'left' } do
ci_status_icon(ci_commit) ci_status_icon(ci_commit)
end end
......
...@@ -12,7 +12,7 @@ class Spinach::Features::Dashboard < Spinach::FeatureSteps ...@@ -12,7 +12,7 @@ class Spinach::Features::Dashboard < Spinach::FeatureSteps
end end
step 'I should see "Shop" project CI status' do step 'I should see "Shop" project CI status' do
expect(page).to have_link "Build status: skipped" expect(page).to have_link "Build skipped"
end end
step 'I should see last push widget' do step 'I should see last push widget' do
......
...@@ -367,7 +367,7 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps ...@@ -367,7 +367,7 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
step 'I should see merge request "Bug NS-05" with CI status' do step 'I should see merge request "Bug NS-05" with CI status' do
page.within ".mr-list" do page.within ".mr-list" do
expect(page).to have_link "Build status: pending" expect(page).to have_link "Build pending"
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment