From d2bec3fb2420c803f5d4557a0233dee8ef5f9659 Mon Sep 17 00:00:00 2001 From: Vipul A M Date: Thu, 21 Nov 2013 22:08:22 +0530 Subject: [PATCH] Don't create request since it is unused. --- rack-protection/spec/escaped_params_spec.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/rack-protection/spec/escaped_params_spec.rb b/rack-protection/spec/escaped_params_spec.rb index 0bd43dc9..17afa808 100644 --- a/rack-protection/spec/escaped_params_spec.rb +++ b/rack-protection/spec/escaped_params_spec.rb @@ -33,7 +33,6 @@ describe Rack::Protection::EscapedParams do it 'leaves cache-breaker params untouched' do mock_app do |env| - request = Rack::Request.new(env) [200, {'Content-Type' => 'text/plain'}, ['hi']] end