Sha256: 24cea0cdcd29890986c1f0d82d93e61c922316e07ecab2134a747f5898197ae5

Contents?: true

Size: 676 Bytes

Versions: 16

Compression:

Stored size: 676 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 }

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

16 entries across 16 versions & 1 rubygems

Version Path
fasterer-0.11.0 spec/spec_helper.rb
fasterer-0.10.1 spec/spec_helper.rb
fasterer-0.10.0 spec/spec_helper.rb
fasterer-0.9.0 spec/spec_helper.rb
fasterer-0.8.3 spec/spec_helper.rb
fasterer-0.8.2 spec/spec_helper.rb
fasterer-0.8.1 spec/spec_helper.rb
fasterer-0.8.0 spec/spec_helper.rb
fasterer-0.7.1 spec/spec_helper.rb
fasterer-0.7.0 spec/spec_helper.rb
fasterer-0.6.0 spec/spec_helper.rb
fasterer-0.5.1 spec/spec_helper.rb
fasterer-0.5.0 spec/spec_helper.rb
fasterer-0.4.2 spec/spec_helper.rb
fasterer-0.4.1 spec/spec_helper.rb
fasterer-0.4.0 spec/spec_helper.rb