Sha256: bbe49049155c3cd617da3b3a86ab901b58378e81391218d1ac9066291c0a328e

Contents?: true

Size: 961 Bytes

Versions: 5

Compression:

Stored size: 961 Bytes

Contents

$:.unshift(File.expand_path("../lib", File.dirname(__FILE__)))

require 'coveralls'
Coveralls.wear!

require 'logger'
require 'pry'
require 'yq'


LOGGER = Logger.new('/dev/null')
SPEC_ROOT = File.expand_path(File.dirname(__FILE__))
WORK_ROOT = File.expand_path(File.join(SPEC_ROOT, '..'))

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

  config.filter_run :focus
  config.run_all_when_everything_filtered = true

  if config.files_to_run.one?
    # Use the documentation formatter for detailed output,
    # unless a formatter has already been configured
    # (e.g. via a command-line flag).
    config.default_formatter = 'doc'
  end

  config.example_status_persistence_file_path = File.join(SPEC_ROOT, 'helpers', 'failures.txt')

  Kernel.srand config.seed
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
yq-0.4.0 spec/spec_helper.rb
yq-0.3.1 spec/spec_helper.rb
yq-0.3.0 spec/spec_helper.rb
yq-0.2.0 spec/spec_helper.rb
yq-0.1.1 spec/spec_helper.rb