Commit a581ba57 authored by Jasper Maes's avatar Jasper Maes

[Rails5] fix NoMethodError: undefined method 'downcase' for Hash

parent 5767f6a7
No related merge requests found
---
title: "[Rails5] fix NoMethodError: undefined method 'downcase' for Hash"
merge_request: 6319
author: Jasper Maes
type: fixed
......@@ -32,7 +32,7 @@ describe API::Jobs do
it 'returns specific job artifacts' do
expect(response).to have_gitlab_http_status(200)
expect(response.headers).to include(download_headers)
expect(response.headers.to_h).to include(download_headers)
expect(response.body).to match_file(job.artifacts_file.file.file)
end
end
......
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