mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Need to reset session for AP rescue tests after altering the route set
This commit is contained in:
@@ -359,6 +359,7 @@ class RescueTest < ActionController::IntegrationTest
|
||||
map.connect 'invalid', :controller => "rescue_test/test", :action => 'invalid'
|
||||
map.connect 'b00m', :controller => "rescue_test/test", :action => 'b00m'
|
||||
end
|
||||
reset!
|
||||
yield
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user