Sha256: 43ac690dd2fa7fad6d96cf2d2f34a068214191b47076e8ae17cbc06d70e32bd2

Contents?: true

Size: 969 Bytes

Versions: 2

Compression:

Stored size: 969 Bytes

Contents

# -*- encoding: utf-8 -*-
#

require 'coveralls'
Coveralls.wear!

SimpleCov.start

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rspec'
require 'timecop'
require 'pry'
require 'tempfile'
require 'bbrcobranca'
require 'rghost'

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

RSpec.configure do |config|
  config.disable_monkey_patching!
  config.order = :random
  Kernel.srand config.seed
  config.filter_run focus: true
  config.run_all_when_everything_filtered = true
  config.expect_with :rspec do |expectations|
    expectations.syntax = :expect
  end
  config.mock_with :rspec do |mocks|
    mocks.syntax = :expect
    mocks.verify_partial_doubles = true
  end
  config.default_formatter = 'doc' if config.files_to_run.one?
end

RGhost::Config.config_platform

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bbrcobranca-0.0.2 spec/spec_helper.rb
bbrcobranca-0.0.1 spec/spec_helper.rb