Skip to content

Commit cbed26f

Browse files
committed
Removed duplicate test
1 parent fd65b15 commit cbed26f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

spec/grape/endpoint_spec.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,6 @@ def app; subject end
186186
last_response.body.should == 'Bobby T.'
187187
end
188188

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-
194189
it 'should not convert empty JSON bodies to params' do
195190
put '/request_body', '', {'CONTENT_TYPE' => 'application/json'}
196191
last_response.body.should == ''

0 commit comments

Comments
 (0)