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:
parent
ca324a0d90
commit
46cd257aad
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue