Sha256: df27dbdffbabd711a486a25c42b5c4f89b867020db35dbb105787634c7d5c0a3
Contents?: true
Size: 254 Bytes
Versions: 2
Compression:
Stored size: 254 Bytes
Contents
if ENV["CI"] || ENV["FAIL_ON_OUTPUT"] RSpec.configure do |config| config.around do |example| output = silence { example.run } fail "Use `silence { }` to avoid printing to STDOUT/STDERR\n#{output}" unless output.empty? end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
flipper-1.3.0 | spec/support/fail_on_output.rb |
flipper-1.3.0.pre | spec/support/fail_on_output.rb |