Sha256: 58ab1385173fbe954c2943e1f78d349498676557da0e3582a4b18aca625d9a72

Contents?: true

Size: 230 Bytes

Versions: 6

Compression:

Stored size: 230 Bytes

Contents

if ENV["SUPPRESS_STDERR"] == "enabled"
  RSpec.configure do |config|
    stderr_original = $stderr
    config.before(:suite) { $stderr = File.new "/dev/null", 'w' }
    config.after(:suite) { $stderr = stderr_original }
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gemsmith-5.3.0 lib/gemsmith/templates/%gem_name%/spec/support/kit/stderr.rb.tt
gemsmith-5.2.0 lib/gemsmith/templates/%gem_name%/spec/support/kit/stderr.rb.tt
gemsmith-5.1.0 lib/gemsmith/templates/%gem_name%/spec/support/kit/stderr.rb.tt
gemsmith-5.0.0 lib/gemsmith/templates/%gem_name%/spec/support/kit/stderr.rb.tt
gemsmith-4.3.0 lib/gemsmith/templates/%gem_name%/spec/support/kit/stderr.rb.tt
gemsmith-4.2.0 lib/gemsmith/templates/%gem_name%/spec/support/kit/stderr.rb.tt