Remove accidental matcher debug code (#31732)

This commit is contained in:
Matt Jankowski 2024-09-04 01:12:35 -04:00 committed by GitHub
parent f1003b2560
commit 9ed1aab9b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,8 +27,6 @@ RSpec::Matchers.define :have_cacheable_headers do
end end
def check_vary def check_vary
puts @expected_vary
pp @response.headers
"Response `Vary` header does not contain `#{@expected_vary}`" unless @response.headers['Vary'].include?(@expected_vary) "Response `Vary` header does not contain `#{@expected_vary}`" unless @response.headers['Vary'].include?(@expected_vary)
end end