Sha256: c7c63281167fbc7a67323a2d186fd267af32cfdabbbdf75791a613c304253f4a
Contents?: true
Size: 741 Bytes
Versions: 2
Compression:
Stored size: 741 Bytes
Contents
# frozen_string_literal: true require 'bundler/setup' require 'domain_expiry' RSpec.configure do |config| # Enable flags like --only-failures and --next-failure config.example_status_persistence_file_path = '.rspec_status' # Disable RSpec exposing methods globally on `Module` and `main` config.disable_monkey_patching! config.expect_with :rspec do |c| c.syntax = :expect end original_stderr = $stderr original_stdout = $stdout config.before(:all) do # Redirect stderr and stdout $stderr = File.open(File::NULL, 'w') $stdout = File.open(File::NULL, 'w') end config.after(:all) do $stderr = original_stderr $stdout = original_stdout end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
domain_expiry-1.0.3 | spec/spec_helper.rb |
domain_expiry-1.0.2 | spec/spec_helper.rb |