Sha256: 2b4cdf07ae8afe92eb9b454df66aeb07b725d6e0d05e7fab7c557a830e8140ca

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-6.2.0 lib/gemsmith/templates/%gem_name%/spec/support/kit/stderr.rb.tt
gemsmith-6.1.0 lib/gemsmith/templates/%gem_name%/spec/support/kit/stderr.rb.tt
gemsmith-6.0.0 lib/gemsmith/templates/%gem_name%/spec/support/kit/stderr.rb.tt
gemsmith-5.6.0 lib/gemsmith/templates/%gem_name%/spec/support/kit/stderr.rb.tt
gemsmith-5.5.0 lib/gemsmith/templates/%gem_name%/spec/support/kit/stderr.rb.tt
gemsmith-5.4.0 lib/gemsmith/templates/%gem_name%/spec/support/kit/stderr.rb.tt