From 23f2bf71f945eacd796bcc4d7a9fadab95834785 Mon Sep 17 00:00:00 2001 From: Donal McBreen Date: Mon, 16 Jun 2025 09:00:04 +0100 Subject: [PATCH] Fix rubocop whitespace issues --- test/test_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_helper.rb b/test/test_helper.rb index fd72cc9c..0ddae06d 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -54,13 +54,13 @@ class ActiveSupport::TestCase stub_stdin(master) { yield } end end - + def stub_stdin_file File.open("/dev/null", "r") do |file| stub_stdin(file) { yield } end end - + def stub_stdin(io) original_stdin = STDIN.dup STDIN.reopen(io)