Sha256: 9e1b90a5832ff1085f6dfa52b97cfed0c61f5e5cc13ff74e15e29ce79cad606b

Contents?: true

Size: 774 Bytes

Versions: 2

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

2 entries across 2 versions & 1 rubygems

Version Path
mrkt-0.6.0 spec/spec_helper.rb
mrkt-0.5.0 spec/spec_helper.rb