Permalink
Browse files

Make cookie store tests pass with the new base

  • Loading branch information...
lifo committed May 25, 2009
1 parent 8097da9 commit 9cda410d818353a5c27cbd5df754f1d1e290927d
Showing with 3 additions and 0 deletions.
  1. +3 −0 actionpack/test/dispatch/session/cookie_store_test.rb
@@ -5,6 +5,9 @@ class CookieStoreTest < ActionController::IntegrationTest
SessionKey = '_myapp_session'
SessionSecret = 'b3c631c314c0bbca50c1b2843150fe33'
+ # Make sure Session middleware doesnt get included in the middleware stack
+ ActionController::Base.session_store = nil
+
DispatcherApp = ActionController::Dispatcher.new
CookieStoreApp = ActionDispatch::Session::CookieStore.new(DispatcherApp,
:key => SessionKey, :secret => SessionSecret)

0 comments on commit 9cda410

Please sign in to comment.