Skip to content
Snippets Groups Projects
Verified Commit 5615f273 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix rubocop issues

parent 696a7084
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -44,8 +44,10 @@ module CiStatusHelper
end
 
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}", data: {toggle: 'tooltip', placement: 'left'} do
link_to ci_status_path(ci_commit),
class: "c#{ci_status_color(ci_commit)}",
title: "Build status: #{ci_commit.status}",
data: { toggle: 'tooltip', placement: 'left' } do
ci_status_icon(ci_commit)
end
end
Loading
Loading
Loading
Loading
@@ -345,11 +345,11 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
create :ci_build, commit: ci_commit
end
 
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"
end
end
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"
end
end
 
def merge_request
@merge_request ||= MergeRequest.find_by!(title: "Bug NS-05")
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment