spec/frodo/middleware/authentication/token_spec.rb in frodo-0.12.2 vs spec/frodo/middleware/authentication/token_spec.rb in frodo-0.12.4
- old
+ new
@@ -76,10 +76,10 @@
it 'does not call the authentication callback' do
expect(auth_callback).to_not receive(:call)
expect do
middleware.authenticate!
- end.to raise_error
+ end.to raise_error(Frodo::AuthenticationError)
end
end
end
end
end