diff options
Diffstat (limited to 'railties/test/application/paths_test.rb')
-rw-r--r-- | railties/test/application/paths_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/application/paths_test.rb b/railties/test/application/paths_test.rb index ac0aa27c64..89f74eb60b 100644 --- a/railties/test/application/paths_test.rb +++ b/railties/test/application/paths_test.rb @@ -11,8 +11,8 @@ module ApplicationTests app_file "config/environments/development.rb", "" add_to_config <<-RUBY config.root = "#{app_path}" - config.after_initialize do - ActionController::Base.session_store = nil + config.after_initialize do |app| + app.config.action_dispatch.session_store = nil end RUBY use_frameworks [:action_controller, :action_view, :action_mailer, :active_record] |