Skip to content

Commit b4f4881

Browse files
authored
Merge pull request #808 from shunwen/feature/fix_request_tests
Fix request tests
2 parents d0f4852 + bee9e63 commit b4f4881

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/integration/requests/request_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def test_get_camelized_route_and_links
9393
JSONAPI.configuration = original_config
9494
end
9595

96-
def test_get_accepting_multiple_content_types
96+
def test_get_multiple_accept_media_types
9797
get '/posts', headers:
9898
{
9999
'Accept' => "application/json, #{JSONAPI::MEDIA_TYPE}, */*"
@@ -121,7 +121,7 @@ def test_put_single_without_content_type
121121
}
122122
}.to_json,
123123
headers: {
124-
'CONTENT_TYPE' => 'application/json',
124+
'CONTENT_TYPE' => nil,
125125
'Accept' => JSONAPI::MEDIA_TYPE
126126
}
127127

0 commit comments

Comments
 (0)