Skip to content

Commit a3fcfd8

Browse files
committed
Need to reset session for AP rescue tests after altering the route set
1 parent 213c920 commit a3fcfd8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

actionpack/test/controller/rescue_test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ def with_test_routing
359359
map.connect 'invalid', :controller => "rescue_test/test", :action => 'invalid'
360360
map.connect 'b00m', :controller => "rescue_test/test", :action => 'b00m'
361361
end
362+
reset!
362363
yield
363364
end
364365
end

0 commit comments

Comments
 (0)