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:
parent
8097da93cc
commit
9cda410d81
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue