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:
Guillermo Iguaran 2023-08-01 10:38:33 -07:00 committed by GitHub
commit 4c9a990ffd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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