Skip to content

Commit

Permalink
another fix :)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpsk committed Dec 13, 2012
1 parent 413727a commit 7984e1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/grape/middleware/exception_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def app
end
get '/'
["<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<error>\n <detail>missing widget</detail>\n <error>rain!</error>\n</error>\n",
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<error>\n <detail>missing widget</detail>\n <error>rain!</error>\n</error>\n"].should be_include(last_response.body)
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<error>\n <error>rain!</error>\n <detail>missing widget</detail>\n</error>\n"].should be_include(last_response.body)
end

it 'should be possible to specify a custom formatter' do
Expand Down

0 comments on commit 7984e1f

Please sign in to comment.