Sha256: fc463b294039b3633b7ca2c10efadf9498c8ac68c360ce46189fada87f7744af

Contents?: true

Size: 230 Bytes

Versions: 6

Compression:

Stored size: 230 Bytes

Contents

if ENV["SUPPRESS_STDOUT"] == "enabled"
  RSpec.configure do |config|
    stdout_original = $stdout
    config.before(:suite) { $stdout = File.new "/dev/null", 'w' }
    config.after(:suite) { $stdout = stdout_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/stdout.rb.tt
gemsmith-5.2.0 lib/gemsmith/templates/%gem_name%/spec/support/kit/stdout.rb.tt
gemsmith-5.1.0 lib/gemsmith/templates/%gem_name%/spec/support/kit/stdout.rb.tt
gemsmith-5.0.0 lib/gemsmith/templates/%gem_name%/spec/support/kit/stdout.rb.tt
gemsmith-4.3.0 lib/gemsmith/templates/%gem_name%/spec/support/kit/stdout.rb.tt
gemsmith-4.2.0 lib/gemsmith/templates/%gem_name%/spec/support/kit/stdout.rb.tt