Skip to content

Commit

Permalink
Removed duplicate test
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgotterer committed Jul 22, 2012
1 parent fd65b15 commit cbed26f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions spec/grape/endpoint_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,6 @@ def app; subject end
last_response.body.should == 'Bobby T.'
end

it 'should convert JSON bodies to params' do
put '/request_body', MultiJson.encode(:user => 'Bobby T.'), {'CONTENT_TYPE' => 'application/json'}
last_response.body.should == 'Bobby T.'
end

it 'should not convert empty JSON bodies to params' do
put '/request_body', '', {'CONTENT_TYPE' => 'application/json'}
last_response.body.should == ''
Expand Down

0 comments on commit cbed26f

Please sign in to comment.