Commit a0690c4c authored by Lin Jen-Shin's avatar Lin Jen-Shin

Spaces around literal hash

Feedback:
https://gitlab.com/gitlab-org/gitlab-ce/builds/7617209
parent e6c83b1c
...@@ -250,7 +250,7 @@ describe Ci::API::Builds do ...@@ -250,7 +250,7 @@ describe Ci::API::Builds do
describe 'PATCH /builds/:id/trace.txt' do describe 'PATCH /builds/:id/trace.txt' do
let(:build) do let(:build) do
attributes = {runner_id: runner.id, pipeline: pipeline} attributes = { runner_id: runner.id, pipeline: pipeline }
create(:ci_build, :running, :trace, attributes) create(:ci_build, :running, :trace, attributes)
end end
...@@ -335,7 +335,7 @@ describe Ci::API::Builds do ...@@ -335,7 +335,7 @@ describe Ci::API::Builds do
context 'when project for the build has been deleted' do context 'when project for the build has been deleted' do
let(:build) do let(:build) do
attributes = {runner_id: runner.id, pipeline: pipeline} attributes = { runner_id: runner.id, pipeline: pipeline }
create(:ci_build, :running, :trace, attributes) do |build| create(:ci_build, :running, :trace, attributes) do |build|
build.project.update(pending_delete: true) build.project.update(pending_delete: true)
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