Sha256: fd5bae84e8883a7638fe7366da7257f47f0ef1168854ccedae82e60da908410d

Contents?: true

Size: 664 Bytes

Versions: 5

Compression:

Stored size: 664 Bytes

Contents

if ENV['COVERAGE']
  require 'simplecov'
  SimpleCov.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

5 entries across 5 versions & 1 rubygems

Version Path
mrkt-0.11.0 spec/spec_helper.rb
mrkt-0.10.0 spec/spec_helper.rb
mrkt-0.9.0 spec/spec_helper.rb
mrkt-0.8.0 spec/spec_helper.rb
mrkt-0.4.0 spec/spec_helper.rb