Sha256: 83fd894b610f1ab3f7384a8d99679541213e3c66741875d604982c8e14669945

Contents?: true

Size: 680 Bytes

Versions: 8

Compression:

Stored size: 680 Bytes

Contents

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

require 'bundler/setup'
Bundler.setup

require 'mrkt'

Dir[File.expand_path('spec/support/**/*.rb')].sort.each do |file|
  require file
end

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

8 entries across 8 versions & 1 rubygems

Version Path
mrkt-1.2.2 spec/spec_helper.rb
mrkt-1.2.1 spec/spec_helper.rb
mrkt-1.2.0 spec/spec_helper.rb
mrkt-1.1.1 spec/spec_helper.rb
mrkt-1.1.0 spec/spec_helper.rb
mrkt-1.0.1 spec/spec_helper.rb
mrkt-1.0.0 spec/spec_helper.rb
mrkt-0.11.1 spec/spec_helper.rb