Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-10-28 19:14:04 +0300
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-10-28 19:14:04 +0300
commit73f697d53bdec63e65bb95c328d69afef7c86e45 (patch)
tree792df987a9fac9990e8bee9731fc08df4bd352eb /spec/views
parentceaafd3a6e253f6af827b9c9ede37150c3ed3b95 (diff)
Fix rubocop offenses
Diffstat (limited to 'spec/views')
-rw-r--r--spec/views/projects/commit/_commit_box.html.haml_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/views/projects/commit/_commit_box.html.haml_spec.rb b/spec/views/projects/commit/_commit_box.html.haml_spec.rb
index eaf5a0ee1bd..16bf0698c4b 100644
--- a/spec/views/projects/commit/_commit_box.html.haml_spec.rb
+++ b/spec/views/projects/commit/_commit_box.html.haml_spec.rb
@@ -17,8 +17,8 @@ describe 'projects/commit/_commit_box.html.haml' do
end
it 'shows the last pipeline that ran for the commit' do
- first_pipeline = 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: 'success')
+ create(:ci_pipeline, project: project, sha: project.commit.id, status: 'canceled')
third_pipeline = create(:ci_pipeline, project: project, sha: project.commit.id, status: 'failed')
render