Commit 828b9772 authored by Phil Hughes's avatar Phil Hughes

fixed tests 🤦

parent b3b4272c
...@@ -307,11 +307,11 @@ describe API::MergeRequests do ...@@ -307,11 +307,11 @@ describe API::MergeRequests do
end end
it 'exposes description and title html' do 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(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 end
context 'merge_request_metrics' do context 'merge_request_metrics' do
......
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