Sha256: dad26f13dc4b64ef920dc233bea3b1134b9a9899a99d1f8877b284ba297c3e65

Contents?: true

Size: 831 Bytes

Versions: 2

Compression:

Stored size: 831 Bytes

Contents

require 'simplecov'
require 'coveralls'

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

SimpleCov.start do
  add_filter 'spec'
end

require 'rspec'
require 'webmock/rspec'

Dir[File.expand_path('../support/**/*.rb', __FILE__)].each { |f| puts f; require f }

RSpec.configure do |config|
  config.filter_run :focus
  config.run_all_when_everything_filtered = true

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

  config.profile_examples = 10

  config.order = :random

  Kernel.srand config.seed

  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
end

require 'exist'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
exist-0.1.0.beta.3 spec/spec_helper.rb
exist-0.1.0.beta.2 spec/spec_helper.rb