We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a1b0b5 commit d0cea93Copy full SHA for d0cea93
1 file changed
test/integration/requests/request_test.rb
@@ -1119,6 +1119,11 @@ def test_include_parameter_openquoted
1119
assert_jsonapi_response 400
1120
end
1121
1122
+ def test_include_value_missing
1123
+ get '/api/v2/posts?include=', headers: { 'Accept' => JSONAPI::MEDIA_TYPE }
1124
+ assert_jsonapi_response 200
1125
+ end
1126
+
1127
def test_getting_different_resources_when_sti
1128
assert_cacheable_jsonapi_get '/vehicles'
1129
types = json_response['data'].map{|r| r['type']}.sort
0 commit comments