1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

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)