diff options
author | Phil Hughes <me@iamphill.com> | 2018-07-03 16:03:11 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-07-05 15:44:55 +0100 |
commit | 828b977214a539095c20e3363f72394c8ad978bf (patch) | |
tree | 75b1fdd662545953e9b429da438f7470bed83149 | |
parent | b3b4272cb756519f8921a1c64865db623d430c83 (diff) | |
download | gitlab-ce-828b977214a539095c20e3363f72394c8ad978bf.tar.gz |
fixed tests :face_palm:
-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 |