gitlab-org--gitlab-foss/spec/requests/api/v3
blackst0ne ddc7620bab [Rails5] Fix undefined method 'downcase' errors in requests specs
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)>'
```
2018-04-29 22:50:39 +11:00
..
award_emoji_spec.rb Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
boards_spec.rb Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
branches_spec.rb Refactor have_http_status into have_gitlab_http_status in the specs 2017-10-20 10:13:18 +02:00
broadcast_messages_spec.rb Refactor have_http_status into have_gitlab_http_status in the specs 2017-10-20 10:13:18 +02:00
builds_spec.rb [Rails5] Fix undefined method 'downcase' errors in requests specs 2018-04-29 22:50:39 +11:00
commits_spec.rb Don't allow Repository#log with limit zero 2018-01-29 15:27:46 +00:00
deploy_keys_spec.rb Merge branch 'sh-migrate-can-push-to-deploy-keys-projects-10-3' into 'security-10-3' 2018-01-16 17:04:51 -08:00
deployments_spec.rb Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
environments_spec.rb Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
files_spec.rb Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
groups_spec.rb Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
issues_spec.rb Adjust the API issues move spec to use project ID 0 2018-02-26 14:59:00 -08:00
labels_spec.rb Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
members_spec.rb Fix error on empty query for Members API 2018-01-21 16:36:55 +00:00
merge_request_diffs_spec.rb Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
merge_requests_spec.rb Correct permissions for creating merge requests from issues 2018-04-11 10:51:17 +02:00
milestones_spec.rb Cache merged and closed events data in merge_request_metrics table 2018-01-02 17:45:25 -02:00
notes_spec.rb Cache merged and closed events data in merge_request_metrics table 2018-01-02 17:45:25 -02:00
pipelines_spec.rb Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
project_hooks_spec.rb align "confidential issues events" implementation with "issues events" one 2018-03-01 10:51:56 +01:00
project_snippets_spec.rb Refactor have_http_status into have_gitlab_http_status in the specs 2017-10-20 10:13:18 +02:00
projects_spec.rb Fix order dependencies in some specs 2018-02-16 20:39:47 +00:00
repositories_spec.rb Refactor have_http_status into have_gitlab_http_status in the specs 2017-10-20 10:13:18 +02:00
runners_spec.rb Refactor have_http_status into have_gitlab_http_status in the specs 2017-10-20 10:13:18 +02:00
services_spec.rb 41054-Disallow creation of new Kubernetes integrations 2018-01-04 09:33:51 +00:00
settings_spec.rb Allow password authentication to be disabled entirely 2017-11-23 13:16:14 +00:00
snippets_spec.rb Refactor have_http_status into have_gitlab_http_status in the specs 2017-10-20 10:13:18 +02:00
system_hooks_spec.rb Refactor have_http_status into have_gitlab_http_status in the specs 2017-10-20 10:13:18 +02:00
tags_spec.rb Refactor have_http_status into have_gitlab_http_status in the specs 2017-10-20 10:13:18 +02:00
templates_spec.rb Fix test failures with licensee 8.9 2018-03-20 12:42:36 +01:00
todos_spec.rb Merge branch 'security-10-4-todo-api-reveals-sensitive-information' into 'security-10-4' 2018-02-09 12:16:25 -06:00
triggers_spec.rb Refactor have_http_status into have_gitlab_http_status in the specs 2017-10-20 10:13:18 +02:00
users_spec.rb Refactor have_http_status into have_gitlab_http_status in the specs 2017-10-20 10:13:18 +02:00