Sha256: 357eaa8326af35d6565c35e6e6e028527d6a60b255640e7c5950637c4365846c

Contents?: true

Size: 261 Bytes

Versions: 8

Compression:

Stored size: 261 Bytes

Contents

# frozen_string_literal: true

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

8 entries across 8 versions & 1 rubygems

Version Path
gemsmith-7.7.0 lib/gemsmith/templates/%gem_name%/spec/support/kit/stdout.rb.tt
gemsmith-7.6.0 lib/gemsmith/templates/%gem_name%/spec/support/kit/stdout.rb.tt
gemsmith-7.5.0 lib/gemsmith/templates/%gem_name%/spec/support/kit/stdout.rb.tt
gemsmith-7.4.0 lib/gemsmith/templates/%gem_name%/spec/support/kit/stdout.rb.tt
gemsmith-7.3.0 lib/gemsmith/templates/%gem_name%/spec/support/kit/stdout.rb.tt
gemsmith-7.2.0 lib/gemsmith/templates/%gem_name%/spec/support/kit/stdout.rb.tt
gemsmith-7.1.0 lib/gemsmith/templates/%gem_name%/spec/support/kit/stdout.rb.tt
gemsmith-7.0.0 lib/gemsmith/templates/%gem_name%/spec/support/kit/stdout.rb.tt