ddc7620bab
In Rails 5.0 headers are no longer inherited from Hash. This commit fixes errors in requests specs like: ``` 1) API::V3::Builds GET /projects/:id/builds/:build_id/artifacts job with artifacts when artifacts are stored locally authorized user returns specific job artifacts Failure/Error: expect(response.headers).to include(download_headers) NoMethodError: undefined method `downcase' for #<Hash:0x000055e8bccc23b0> # ./spec/requests/api/v3/builds_spec.rb:235:in `block (6 levels) in <top (required)>' ``` |
||
---|---|---|
.. | ||
award_emoji_spec.rb | ||
boards_spec.rb | ||
branches_spec.rb | ||
broadcast_messages_spec.rb | ||
builds_spec.rb | ||
commits_spec.rb | ||
deploy_keys_spec.rb | ||
deployments_spec.rb | ||
environments_spec.rb | ||
files_spec.rb | ||
groups_spec.rb | ||
issues_spec.rb | ||
labels_spec.rb | ||
members_spec.rb | ||
merge_request_diffs_spec.rb | ||
merge_requests_spec.rb | ||
milestones_spec.rb | ||
notes_spec.rb | ||
pipelines_spec.rb | ||
project_hooks_spec.rb | ||
project_snippets_spec.rb | ||
projects_spec.rb | ||
repositories_spec.rb | ||
runners_spec.rb | ||
services_spec.rb | ||
settings_spec.rb | ||
snippets_spec.rb | ||
system_hooks_spec.rb | ||
tags_spec.rb | ||
templates_spec.rb | ||
todos_spec.rb | ||
triggers_spec.rb | ||
users_spec.rb |