diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-09-13 17:52:33 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-09-13 17:52:33 -0500 |
commit | a3fcfd819b85e89286ffe9dfc3a3f22555cd55fc (patch) | |
tree | 95582a4a68e833692117e3774968ad1928414581 /actionpack/test | |
parent | 213c920e4f0b1efeaccc4377dfebb41a5873efcf (diff) | |
download | rails-a3fcfd819b85e89286ffe9dfc3a3f22555cd55fc.tar.gz rails-a3fcfd819b85e89286ffe9dfc3a3f22555cd55fc.tar.bz2 rails-a3fcfd819b85e89286ffe9dfc3a3f22555cd55fc.zip |
Need to reset session for AP rescue tests after altering the route set
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/rescue_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/controller/rescue_test.rb b/actionpack/test/controller/rescue_test.rb index 490a4ff3b3..23408712e9 100644 --- a/actionpack/test/controller/rescue_test.rb +++ b/actionpack/test/controller/rescue_test.rb @@ -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 |