We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd65b15 commit cbed26fCopy full SHA for cbed26f
spec/grape/endpoint_spec.rb
@@ -186,11 +186,6 @@ def app; subject end
186
last_response.body.should == 'Bobby T.'
187
end
188
189
- it 'should convert JSON bodies to params' do
190
- put '/request_body', MultiJson.encode(:user => 'Bobby T.'), {'CONTENT_TYPE' => 'application/json'}
191
- last_response.body.should == 'Bobby T.'
192
- end
193
-
194
it 'should not convert empty JSON bodies to params' do
195
put '/request_body', '', {'CONTENT_TYPE' => 'application/json'}
196
last_response.body.should == ''
0 commit comments