Sha256: 3db2a8be2cc5f35ce58ccfff7d13aa6698713675668dfcac684da8da18abe337

Contents?: true

Size: 774 Bytes

Versions: 3

Compression:

Stored size: 774 Bytes

Contents

if ENV['COVERAGE']
  require 'simplecov'
  SimpleCov.start
end

if ENV['CODECLIMATE_REPO_TOKEN']
  require 'codeclimate-test-reporter'
  CodeClimate::TestReporter.start
end

require 'bundler/setup'
Bundler.setup

require 'mrkt'

Dir[File.expand_path('spec/support/**/*.rb')].each { |f| require f }

RSpec.configure do |config|
  config.default_formatter = :doc if config.files_to_run.one?

  config.expect_with :rspec do |expectations|
    expectations.include_chain_clauses_in_custom_matcher_descriptions = true
  end

  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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mrkt-0.7.0 spec/spec_helper.rb
mrkt-0.6.2 spec/spec_helper.rb
mrkt-0.6.1 spec/spec_helper.rb