Skip to content

Commit

Permalink
Show failing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunny Juneja committed Mar 27, 2015
1 parent 6a85c08 commit 844b5c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/grape/exceptions/validation_errors_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def app
it 'can return structured json with separate fields' do
subject.format :json
subject.rescue_from Grape::Exceptions::ValidationErrors do |e|
rack_response e.to_json, 400
error!(e, 400)
end
subject.params do
optional :beer
Expand Down

0 comments on commit 844b5c9

Please sign in to comment.