summaryrefslogtreecommitdiff
path: root/spec/views
diff options
context:
space:
mode:
authorZ.J. van de Weg <zegerjan@gitlab.com>2016-08-03 13:37:39 +0200
committerZ.J. van de Weg <zegerjan@gitlab.com>2016-08-11 21:29:57 +0200
commitb497b0ce3fc3c1882639f9c7d55f7991ce41f15d (patch)
tree353668ef819c38e3e9a208530a36501b4c524313 /spec/views
parent826862d48ef80ddd849b9e3cb05ef37ba7be41e9 (diff)
downloadgitlab-ce-b497b0ce3fc3c1882639f9c7d55f7991ce41f15d.tar.gz
Incorporate feedback
Diffstat (limited to 'spec/views')
-rw-r--r--spec/views/projects/merge_requests/_heading.html.haml_spec.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/views/projects/merge_requests/_heading.html.haml_spec.rb b/spec/views/projects/merge_requests/_heading.html.haml_spec.rb
index b78c9c7e9ef..843a496f4c3 100644
--- a/spec/views/projects/merge_requests/_heading.html.haml_spec.rb
+++ b/spec/views/projects/merge_requests/_heading.html.haml_spec.rb
@@ -7,8 +7,10 @@ describe 'projects/merge_requests/widget/_heading' do
let(:project) { merge_request.target_project }
let(:merge_request) { create(:merge_request, :merged) }
let(:environment) { create(:environment, project: project) }
- let!(:deployment) { create(:deployment, environment: environment,
- sha: 'a5391128b0ef5d21df5dd23d98557f4ef12fae20') }
+ let!(:deployment) do
+ create(:deployment, environment: environment,
+ sha: 'a5391128b0ef5d21df5dd23d98557f4ef12fae20')
+ end
before do
assign(:merge_request, merge_request)