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:
parent
f1003b2560
commit
9ed1aab9b7
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user