Permalink
Browse files

Need to reset session for AP rescue tests after altering the route set

  • Loading branch information...
1 parent 213c920 commit a3fcfd819b85e89286ffe9dfc3a3f22555cd55fc @josh josh committed Sep 13, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/test/controller/rescue_test.rb
@@ -359,6 +359,7 @@ def with_test_routing
map.connect 'invalid', :controller => "rescue_test/test", :action => 'invalid'
map.connect 'b00m', :controller => "rescue_test/test", :action => 'b00m'
end
+ reset!
yield
end
end

0 comments on commit a3fcfd8

Please sign in to comment.