We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdb933d commit 721a635Copy full SHA for 721a635
1 file changed
test/integration/requests/request_test.rb
@@ -93,6 +93,14 @@ def test_get_camelized_route_and_links
93
JSONAPI.configuration = original_config
94
end
95
96
+ def test_get_accepting_multiple_content_types
97
+ get '/posts', headers:
98
+ {
99
+ 'Accept': "application/json, #{JSONAPI::MEDIA_TYPE}, */*"
100
+ }
101
+ assert_equal 200, status
102
+ end
103
+
104
def test_put_single_without_content_type
105
put '/posts/3', params:
106
{
0 commit comments