From 10f93129c33edbc88fa7890473469ab9ff929856 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Wed, 20 Feb 2013 22:02:54 -0200 Subject: [PATCH] Rails 4 now raises ActionController::UrlGenerationError This is the commit in Rails https://github.com/rails/rails/commit/db06d128 --- test/omniauth/url_helpers_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/omniauth/url_helpers_test.rb b/test/omniauth/url_helpers_test.rb index 67054b65..785ef25b 100644 --- a/test/omniauth/url_helpers_test.rb +++ b/test/omniauth/url_helpers_test.rb @@ -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