Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #595 from slainer68/master

Fixing build on 1.8.7
  • Loading branch information...
commit 3056edeac221d963f1e3e2ce4af12fcd3ba613f3 2 parents 7f585bf + d8e82f7
@sferik sferik authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 spec/omniauth/failure_endpoint_spec.rb
View
5 spec/omniauth/failure_endpoint_spec.rb
@@ -10,8 +10,9 @@
end
it 'should raise out the error' do
- err = StandardError.new("Blah")
- expect{ subject.call('omniauth.error' => err) }.to raise_error(err)
+ expect do
+ subject.call('omniauth.error' => StandardError.new("Blah"))
+ end.to raise_error(StandardError, "Blah")
end
it 'should raise out an OmniAuth::Error if no omniauth.error is set' do
Please sign in to comment.
Something went wrong with that request. Please try again.