diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-10-03 20:45:49 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-10-03 20:45:49 -0500 |
commit | 84e94551f62d3bcbc71f1c6f3fda738342d984e2 (patch) | |
tree | 910865aabfd681bc4b71f3dc406f858d41ba963b /actionpack/test/dispatch/session | |
parent | 89630a7c2c3d0f625742e2b84ec28479ff3ecef9 (diff) | |
download | rails-84e94551f62d3bcbc71f1c6f3fda738342d984e2.tar.gz rails-84e94551f62d3bcbc71f1c6f3fda738342d984e2.tar.bz2 rails-84e94551f62d3bcbc71f1c6f3fda738342d984e2.zip |
Add custom "with_routing" to internal tests to fix reseting session after using
with_routing. This only affects our internal AP tests.
Diffstat (limited to 'actionpack/test/dispatch/session')
-rw-r--r-- | actionpack/test/dispatch/session/cookie_store_test.rb | 1 | ||||
-rw-r--r-- | actionpack/test/dispatch/session/mem_cache_store_test.rb | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/actionpack/test/dispatch/session/cookie_store_test.rb b/actionpack/test/dispatch/session/cookie_store_test.rb index 6241c79829..ab5fabde65 100644 --- a/actionpack/test/dispatch/session/cookie_store_test.rb +++ b/actionpack/test/dispatch/session/cookie_store_test.rb @@ -223,7 +223,6 @@ class CookieStoreTest < ActionController::IntegrationTest end options = {:key => SessionKey, :secret => SessionSecret}.merge(options) @app = ActionDispatch::Session::CookieStore.new(set, options) - reset! yield end end diff --git a/actionpack/test/dispatch/session/mem_cache_store_test.rb b/actionpack/test/dispatch/session/mem_cache_store_test.rb index c2d40ae24a..c7435bd06b 100644 --- a/actionpack/test/dispatch/session/mem_cache_store_test.rb +++ b/actionpack/test/dispatch/session/mem_cache_store_test.rb @@ -115,7 +115,6 @@ class MemCacheStoreTest < ActionController::IntegrationTest map.connect "/:action", :controller => "mem_cache_store_test/test" end @app = ActionDispatch::Session::MemCacheStore.new(set, :key => '_session_id') - reset! yield end end |