Merge pull request #48855 from akhilgkrishnan/add-rack-link-to-debug-exception-missing-test
Add Rack::Lint to DebugExceptions missing test
This commit is contained in:
commit
4c9a990ffd
@ -165,7 +165,7 @@ def self.build_app(app, *args)
|
||||
|
||||
test "closes the response body on cascade pass" do
|
||||
boomer = Boomer.new(false)
|
||||
@app = ActionDispatch::DebugExceptions.new(boomer)
|
||||
@app = self.class.build_app(boomer)
|
||||
assert_raise ActionController::RoutingError do
|
||||
get "/pass", headers: { "action_dispatch.show_exceptions" => :all }
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user