From 4f486ae7b0882f6050cc54497bccb0f8c0c531a1 Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Wed, 24 Jan 2024 14:24:30 +1100 Subject: [PATCH] style: rubocop --- spec/support/logging.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/support/logging.rb b/spec/support/logging.rb index 0522591e1..b1a31ee49 100644 --- a/spec/support/logging.rb +++ b/spec/support/logging.rb @@ -11,7 +11,7 @@ # Print out the request and response when DEBUG=true RSpec.configure do | config | - config.after(:each) do | example | + config.after(:each) do if ENV["DEBUG"] == "true" && defined?(last_response) last_request.env["rack.input"]&.rewind puts "------------------------------------------------------------"