Sha256: 5dcc9b979714bd3526268d16c1ea14e682ef69097bf94d8688ef1e6ba54fed32
Contents?: true
Size: 1.02 KB
Versions: 2
Compression:
Stored size: 1.02 KB
Contents
require 'skellington' require 'coveralls' Coveralls.wear_merged! RSpec.configure do |config| config.expect_with :rspec do |expectations| expectations.include_chain_clauses_in_custom_matcher_descriptions = true end config.mock_with :rspec do |mocks| mocks.verify_partial_doubles = true end config.filter_run :focus config.run_all_when_everything_filtered = true config.order = :random # Use tmp/ to write skellington $pwd = FileUtils.pwd config.before(:each) do FileUtils.rm_rf 'tmp' FileUtils.mkdir_p 'tmp' FileUtils.cd 'tmp' end config.after(:each) do FileUtils.cd $pwd end # Suppress CLI output. This *will* fuck with Pry original_stderr = $stderr original_stdout = $stdout config.before(:all) do # Redirect stderr and stdout $stderr = File.new '/dev/null', 'w' $stdout = File.new '/dev/null', 'w' end config.after(:all) do $stderr = original_stderr $stdout = original_stdout end end Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each {|f| require f}
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
skellington-0.4.3 | spec/spec_helper.rb |
skellington-0.4.2 | spec/spec_helper.rb |