1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-23 22:56:20 +09:00

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