From 01b5892b45da238c954731f57d31b9fa16f7e0ed Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Mon, 16 Jan 2023 13:20:08 +0100 Subject: [PATCH] Fix a mistake in a spec name Followup: https://github.com/rack/rack/pull/2006 I renamed the wrong spec. --- test/spec_method_override.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/spec_method_override.rb b/test/spec_method_override.rb index c1df8ed77..f3b8ad729 100644 --- a/test/spec_method_override.rb +++ b/test/spec_method_override.rb @@ -106,14 +106,14 @@ def app env[Rack::RACK_ERRORS].read.must_include 'Bad request content body' end - it "not modify REQUEST_METHOD for POST requests when the params are unparseable" do + it "not modify REQUEST_METHOD for POST requests when the params are unparseable because too deep" do env = Rack::MockRequest.env_for("/", method: "POST", input: ("[a]" * 36) + "=1") app.call env env["REQUEST_METHOD"].must_equal "POST" end - it "not modify REQUEST_METHOD for POST requests when the params are unparseable because too deep" do + it "not modify REQUEST_METHOD for POST requests when the params are unparseable" do env = Rack::MockRequest.env_for("/", method: "POST", input: "(%bad-params%)") app.call env