diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 3819f04a..d92ae73a 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -66,7 +66,7 @@ def failure_message_when_negated class ValidateWithLint def matches?(request) @request = request - Rack::Lint.new(proc{[200, {'Content-Type' => 'text/html', 'Content-Length' => '0'}, []]}).call(@request.env) + Rack::Lint.new(proc{[200, {'content-type' => 'text/html', 'content-length' => '0'}, []]}).call(@request.env) true rescue Rack::Lint::LintError => e @message = e.message