From 9cda410d818353a5c27cbd5df754f1d1e290927d Mon Sep 17 00:00:00 2001 From: Pratik Naik Date: Mon, 25 May 2009 16:52:44 +0200 Subject: Make cookie store tests pass with the new base --- actionpack/test/dispatch/session/cookie_store_test.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'actionpack/test/dispatch') diff --git a/actionpack/test/dispatch/session/cookie_store_test.rb b/actionpack/test/dispatch/session/cookie_store_test.rb index 3090a70244..2db76818ac 100644 --- a/actionpack/test/dispatch/session/cookie_store_test.rb +++ b/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) -- cgit v1.2.3