Remove accidental matcher debug code (#31732)
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