mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-13 14:46:05 +10:00
Use "Build passed" in tooltip instead of "Build status: passed"
This commit is contained in:
@@ -46,7 +46,7 @@ module CiStatusHelper
|
||||
def render_ci_status(ci_commit)
|
||||
link_to ci_status_path(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
|
||||
ci_status_icon(ci_commit)
|
||||
end
|
||||
|
||||
@@ -12,7 +12,7 @@ class Spinach::Features::Dashboard < Spinach::FeatureSteps
|
||||
end
|
||||
|
||||
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
|
||||
|
||||
step 'I should see last push widget' do
|
||||
|
||||
@@ -367,7 +367,7 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
|
||||
|
||||
step 'I should see merge request "Bug NS-05" with CI status' do
|
||||
page.within ".mr-list" do
|
||||
expect(page).to have_link "Build status: pending"
|
||||
expect(page).to have_link "Build pending"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user