mirror of
https://github.com/heartcombo/devise.git
synced 2026-01-10 07:18:14 -05:00
Allow to give :skip in devise_for to skip routes for an specific controller.
This commit is contained in:
@@ -84,7 +84,7 @@ class MapRoutingTest < ActionController::TestCase
|
||||
|
||||
test 'does not map admin confirmation' do
|
||||
assert_raise ActionController::RoutingError do
|
||||
assert_recognizes({:controller => 'devise/confirmations', :action => 'new'}, 'admin_area/confirmation/new')
|
||||
assert_recognizes({:controller => 'devise/passwords', :action => 'new'}, 'admin_area/password/new')
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user