1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

Rails 4 now raises ActionController::UrlGenerationError

This is the commit in Rails
https://github.com/rails/rails/commit/db06d128
This commit is contained in:
Santiago Pastorino 2013-02-20 22:02:54 -02:00 committed by Carlos Antonio da Silva
parent 04d9512f30
commit 10f93129c3

View file

@ -30,7 +30,7 @@ class OmniAuthRoutesTest < ActionController::TestCase
test 'should generate authorization path' do
assert_match "/users/auth/facebook", @controller.omniauth_authorize_path(:user, :facebook)
assert_raise ActionController::RoutingError do
assert_raise ActionController::UrlGenerationError do
@controller.omniauth_authorize_path(:user, :github)
end
end