Commit 73f697d5 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Fix rubocop offenses

parent ceaafd3a
...@@ -17,8 +17,8 @@ describe 'projects/commit/_commit_box.html.haml' do ...@@ -17,8 +17,8 @@ describe 'projects/commit/_commit_box.html.haml' do
end end
it 'shows the last pipeline that ran for the commit' do it 'shows the last pipeline that ran for the commit' do
first_pipeline = create(:ci_pipeline, project: project, sha: project.commit.id, status: 'success') create(:ci_pipeline, project: project, sha: project.commit.id, status: 'success')
second_pipeline = create(:ci_pipeline, project: project, sha: project.commit.id, status: 'canceled') create(:ci_pipeline, project: project, sha: project.commit.id, status: 'canceled')
third_pipeline = create(:ci_pipeline, project: project, sha: project.commit.id, status: 'failed') third_pipeline = create(:ci_pipeline, project: project, sha: project.commit.id, status: 'failed')
render render
......
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