Make cookie store tests pass with the new base

This commit is contained in:
Pratik Naik 2009-05-25 16:52:44 +02:00
parent 8097da93cc
commit 9cda410d81
1 changed files with 3 additions and 0 deletions

View File

@ -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)