mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-22 14:15:22 +00: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 a new issue