Sha256: b53ba4c2a71b9104ec42ba7f2aa5d6c9df20b1b6ed654ed1e2ad9e94c7280237

Contents?: true

Size: 829 Bytes

Versions: 1

Compression:

Stored size: 829 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

Bundler.require

require 'aws'
require 'rake'
require 'tempfile'

require 'dispatch-rider'
Dir['./spec/support/**/*.rb'].each { |fn| require(fn) }

FactoryGirl.definition_file_paths = %w{spec/factories/}
FactoryGirl.find_definitions

RSpec.configure do |config|
  config.raise_errors_for_deprecations!
  config.mock_with :rspec
  config.order = 'random'
  config.color = true
  config.tty = true
  config.mock_with :rspec do |mocks|
    mocks.yield_receiver_to_any_instance_implementation_blocks = false
  end

  config.include IntegrationSupport

  config.before do
    DispatchRider.config.logger = NullLogger.new
  end

  config.include FactoryGirl::Syntax::Methods
end

# Airbrake dummy module
module Airbrake
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dispatch-rider-1.6.2 spec/spec_helper.rb