Sha256: 7dfc7bb29ddcb0f2020746040bb8d1ed788859ade859c4ae968b6efe54e03dab

Contents?: true

Size: 726 Bytes

Versions: 7

Compression:

Stored size: 726 Bytes

Contents

require 'tessa'
require 'tempfile'

Dir[File.expand_path("../support/*.rb", __FILE__)].each do |file|
  require file
end

if ENV['SIMPLE_COV'] || ENV['CC_TEST_REPORTER_ID']
  require 'simplecov'
  SimpleCov.start
end

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

  config.mock_with :rspec do |mocks|
    mocks.verify_partial_doubles = true
  end

  if config.files_to_run.one?
    config.default_formatter = 'doc'
  end

  config.filter_run :focus
  config.run_all_when_everything_filtered = true
  config.disable_monkey_patching!
  config.warnings = true
  config.order = :random

  Kernel.srand config.seed
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tessa-1.0.2 spec/spec_helper.rb
tessa-1.0.1 spec/spec_helper.rb
tessa-1.0.0 spec/spec_helper.rb
tessa-1.0.0.pre.rc3 spec/spec_helper.rb
tessa-1.0.0.pre.rc2 spec/spec_helper.rb
tessa-1.0.0.pre.rc1 spec/spec_helper.rb
tessa-0.9.2 spec/spec_helper.rb