diff options
author | Phil Hughes <me@iamphill.com> | 2018-07-03 18:03:11 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-07-05 17:44:55 +0300 |
commit | 828b977214a539095c20e3363f72394c8ad978bf (patch) | |
tree | 75b1fdd662545953e9b429da438f7470bed83149 /spec/requests/api/merge_requests_spec.rb | |
parent | b3b4272cb756519f8921a1c64865db623d430c83 (diff) |
fixed tests :face_palm:
Diffstat (limited to 'spec/requests/api/merge_requests_spec.rb')
-rw-r--r-- | spec/requests/api/merge_requests_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/api/merge_requests_spec.rb b/spec/requests/api/merge_requests_spec.rb index accec232bb8..b58ca296301 100644 --- a/spec/requests/api/merge_requests_spec.rb +++ b/spec/requests/api/merge_requests_spec.rb @@ -307,11 +307,11 @@ describe API::MergeRequests do end it 'exposes description and title html' do - get api("/projects/#{project.id}/merge_requests/#{merge_request.iid}?render_html=true", user) + get api("/projects/#{project.id}/merge_requests/#{merge_request.iid}", user), render_html: true expect(response).to have_gitlab_http_status(200) - expect(json_response).to include(['title_html', 'description_html']) + expect(json_response).to include('title_html', 'description_html') end context 'merge_request_metrics' do |