diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-08-03 12:38:29 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-08-03 12:38:29 +0300 |
commit | 06b8f47cf3b8ce65012fe905f6d3953ff175fa85 (patch) | |
tree | 16e6e1e55c2005bc256a467834b8620672c7c8d6 /spec | |
parent | 8e8cc85c3ea8d4232756cc8222c535e966b6087d (diff) |
Fix merge request controller spec because to as_json
Diffstat (limited to 'spec')
-rw-r--r-- | spec/controllers/projects/merge_requests_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/projects/merge_requests_controller_spec.rb b/spec/controllers/projects/merge_requests_controller_spec.rb index b03e93873ae..375018e2229 100644 --- a/spec/controllers/projects/merge_requests_controller_spec.rb +++ b/spec/controllers/projects/merge_requests_controller_spec.rb @@ -605,7 +605,7 @@ describe Projects::MergeRequestsController do end context 'when comparison is done' do - let(:comparison_status) { { status: :parsed, data: { summary: 1 }.to_json } } + let(:comparison_status) { { status: :parsed, data: { summary: 1 } } } it 'returns 200 HTTP status' do subject |