lib/gemsmith/templates/%gem_name%/spec/support/kit/stderr.rb.tt in gemsmith-5.3.0 vs lib/gemsmith/templates/%gem_name%/spec/support/kit/stderr.rb.tt in gemsmith-5.4.0
- old
+ new
@@ -1,7 +1,7 @@
if ENV["SUPPRESS_STDERR"] == "enabled"
RSpec.configure do |config|
stderr_original = $stderr
- config.before(:suite) { $stderr = File.new "/dev/null", 'w' }
+ config.before(:suite) { $stderr = File.new "/dev/null", "w" }
config.after(:suite) { $stderr = stderr_original }
end
end