require "bundler" Bundler.require require "codeclimate-test-reporter" CodeClimate::TestReporter.start require "stairs" require "mock_stdio" Dir["./spec/support/**/*.rb"].each { |f| require f } RSpec.configure do |config| config.treat_symbols_as_metadata_keys_with_true_values = true config.run_all_when_everything_filtered = true config.filter_run :focus config.include MockStdio config.include ConfigurationHelper config.before(:all, &:silence_output) config.after(:all, &:enable_output) config.after(:each, &:reset_configuration) end