File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change
1
+ require 'active_support/core_ext/module/aliasing'
1
2
require 'action_controller/vendor/html-scanner'
2
3
require 'action_dispatch/testing/assertions'
3
4
require 'action_dispatch/testing/assertions/selector'
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ class ActionDispatch::IntegrationTest < ActiveSupport::TestCase
104
104
105
105
def self . build_app ( routes = nil )
106
106
RoutedRackApp . new ( routes || ActionDispatch ::Routing ::RouteSet . new ) do |middleware |
107
- middleware . use "ActionDispatch::ShowExceptions"
107
+ middleware . use "ActionDispatch::ShowExceptions" , ActionDispatch :: PublicExceptions . new ( " #{ FIXTURE_LOAD_PATH } /public" )
108
108
middleware . use "ActionDispatch::Callbacks"
109
109
middleware . use "ActionDispatch::ParamsParser"
110
110
middleware . use "ActionDispatch::Cookies"
You can’t perform that action at this time.
0 commit comments