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

make sure flash middleware is required

This commit is contained in:
Aaron Patterson 2015-09-25 15:53:15 -07:00
parent ca324a0d90
commit 46cd257aad

View file

@ -159,6 +159,7 @@ module TestHelpers
require "rails" require "rails"
require "action_controller/railtie" require "action_controller/railtie"
require "action_view/railtie" require "action_view/railtie"
require 'action_dispatch/middleware/flash'
app = Class.new(Rails::Application) app = Class.new(Rails::Application)
app.config.eager_load = false app.config.eager_load = false