1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# frozen_string_literal: true require 'spec_helper' RSpec.configure do |config| # Redirect stdout so specs don't have so much noise config.before(:all) do $stdout = StringIO.new end # Reset stdout config.after(:all) do $stdout = STDOUT end end