Sha256: 929cfc9612d4435aaf23659a7e8a278e7c6c936c398e488f0dea616c17fdf70b

Contents?: true

Size: 770 Bytes

Versions: 3

Compression:

Stored size: 770 Bytes

Contents

require 'bundler/setup'
require 'simplecov'
SimpleCov.start do
  add_filter '/spec/'
  add_filter '/vendor/'
end

require 'fasterer'
require 'fasterer/cli'
require 'pry'

Dir["#{File.dirname(__FILE__)}/support/*.rb"].each { |f| require f }

if ENV['TRAVIS']
  require 'codeclimate-test-reporter'
  CodeClimate::TestReporter.start
end

def RSpec.root
  @root_path = Pathname.new(File.dirname(__FILE__))
end

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.before(:each) do
    allow_any_instance_of(Fasterer::FileTraverser).to receive(:puts).and_return(nil)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fasterer-0.3.2 spec/spec_helper.rb
fasterer-0.3.1 spec/spec_helper.rb
fasterer-0.3.0 spec/spec_helper.rb