Sha256: a3cfc39920574b8f4767d12b55077d47004e8e7925e3494087bb4635f80337c9

Contents?: true

Size: 975 Bytes

Versions: 2

Compression:

Stored size: 975 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 'brcobranca'
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
  if config.files_to_run.one?
    config.default_formatter = 'doc'
  end
end

RGhost::Config.config_platform

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
brcobranca-6.9.1 spec/spec_helper.rb
brcobranca-6.9.0 spec/spec_helper.rb