spec/support/reporting.rb in kt-paperclip-5.4.0 vs spec/support/reporting.rb in kt-paperclip-6.2.0
- old
+ new
@@ -1,8 +1,8 @@
module Reporting
def silence_stream(stream)
old_stream = stream.dup
- stream.reopen(RbConfig::CONFIG['host_os'] =~ /mswin|mingw/ ? 'NUL:' : '/dev/null')
+ stream.reopen(RbConfig::CONFIG["host_os"] =~ /mswin|mingw/ ? "NUL:" : "/dev/null")
stream.sync = true
yield
ensure
stream.reopen(old_stream)
old_stream.close