Use have_gitlab_http_status in runner_spec

This commit is contained in:
Matija Čupić 2019-04-09 00:08:32 +02:00
parent 225edb0d2d
commit 8b8b466a7f
No known key found for this signature in database
GPG key ID: 4BAF84FFACD2E5DE

View file

@ -1734,7 +1734,7 @@ describe API::Runner, :clean_gitlab_redis_shared_state do
end
it 'download artifacts' do
expect(response).to have_http_status(200)
expect(response).to have_gitlab_http_status(200)
expect(response.headers.to_h).to include download_headers
end
end