We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d0f4852 + bee9e63 commit b4f4881Copy full SHA for b4f4881
1 file changed
test/integration/requests/request_test.rb
@@ -93,7 +93,7 @@ def test_get_camelized_route_and_links
93
JSONAPI.configuration = original_config
94
end
95
96
- def test_get_accepting_multiple_content_types
+ def test_get_multiple_accept_media_types
97
get '/posts', headers:
98
{
99
'Accept' => "application/json, #{JSONAPI::MEDIA_TYPE}, */*"
@@ -121,7 +121,7 @@ def test_put_single_without_content_type
121
}
122
}.to_json,
123
headers: {
124
- 'CONTENT_TYPE' => 'application/json',
+ 'CONTENT_TYPE' => nil,
125
'Accept' => JSONAPI::MEDIA_TYPE
126
127
0 commit comments