diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-03-24 10:34:30 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-03-24 10:54:14 -0500 |
commit | 03700b4f0131059f3e848324ad42f2b53f12d8c9 (patch) | |
tree | 57fd22f3aa4f527d6d14d94365e1290a9df684f7 /actionpack | |
parent | f97832b1e4406a76d268a96b521d2297adec0ae3 (diff) | |
download | rails-03700b4f0131059f3e848324ad42f2b53f12d8c9.tar.gz rails-03700b4f0131059f3e848324ad42f2b53f12d8c9.tar.bz2 rails-03700b4f0131059f3e848324ad42f2b53f12d8c9.zip |
just kill brittle test
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/controller/session/cookie_store_test.rb | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/actionpack/test/controller/session/cookie_store_test.rb b/actionpack/test/controller/session/cookie_store_test.rb index 48a961ca34..40fcd56846 100644 --- a/actionpack/test/controller/session/cookie_store_test.rb +++ b/actionpack/test/controller/session/cookie_store_test.rb @@ -193,27 +193,6 @@ class CookieStoreTest < ActionController::IntegrationTest end end - def test_session_store_with_expire_after - app = ActionController::Session::CookieStore.new(DispatcherApp, :key => SessionKey, :secret => SessionSecret, :expire_after => 5.hours) - @integration_session = open_session(app) - - with_test_route_set do - # First request accesses the session - cookies[SessionKey] = SignedBar - - get '/set_session_value' - assert_response :success - cookie = headers['Set-Cookie'] - - # Second request does not access the session so the - # expires header should not be changed - get '/no_session_access' - assert_response :success - assert_equal cookie, headers['Set-Cookie'], - "#{unmarshal_session(cookie).inspect} expected but was #{unmarshal_session(headers['Set-Cookie']).inspect}" - end - end - private def with_test_route_set with_routing do |set| |