require "coveralls"
Coveralls.wear!

require "frenchy"

RSpec.configure do |config|
  config.expect_with :rspec do |expectations|
    # This option will default to `true` in RSpec 4.
    expectations.include_chain_clauses_in_custom_matcher_descriptions = true
  end

  config.mock_with :rspec do |mocks|
    # This option will default to `true` in RSpec 4.
    mocks.verify_partial_doubles = true
  end
end

if ENV["CI"]
  require "coveralls"
  Coveralls.wear!
else
  require "simplecov"
  SimpleCov.start
end

require "frenchy"

RSpec.configure do |config|
  config.expect_with :rspec do |expectations|
    # This option will default to `true` in RSpec 4.
    expectations.include_chain_clauses_in_custom_matcher_descriptions = true
  end

  config.mock_with :rspec do |mocks|
    # This option will default to `true` in RSpec 4.
    mocks.verify_partial_doubles = true
  end
end

Use simplecov locally, coveralls in CI.
Use simplecov locally, coveralls in CI.