Sha256: 961f600975b5f855e02a49f1202db99d8d7baf677adcddcfce06e9a951178387

Contents?: true

Size: 866 Bytes

Versions: 3

Compression:

Stored size: 866 Bytes

Contents

require 'rspec'
require 'simplecov'
require 'coveralls'
require 'phonelib'

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
  SimpleCov::Formatter::HTMLFormatter,
  Coveralls::SimpleCov::Formatter
]

SimpleCov.start

Dir["./spec/support/**/*.rb"].sort.each { |f| require f }

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

  begin
    config.filter_run :focus
    config.run_all_when_everything_filtered = true

    config.disable_monkey_patching!

    config.warnings = false

    if config.files_to_run.one?
      config.default_formatter = 'doc'
    end

    config.profile_examples = 10

    config.order = :random

    Kernel.srand config.seed
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
data_maker-2.2.3 spec/spec_helper.rb
data_maker-2.1.3 spec/spec_helper.rb
data_maker-2.1.2 spec/spec_helper.rb