Sha256: d0b9d5bb8ed53dff8b6d49b678073f3f7cfa725c2ad526bbbc5a1e04ba797242

Contents?: true

Size: 557 Bytes

Versions: 2

Compression:

Stored size: 557 Bytes

Contents

# frozen_string_literal: true

if ENV['COVERAGE'] == 'true'
  require 'simplecov'
  SimpleCov.start do
    add_filter '/spec/'
  end
end

begin
  require 'pry-byebug'
rescue LoadError; end

require 'dry-logic'
require 'dry/core/constants'
require 'pathname'

SPEC_ROOT = Pathname(__dir__)

Dir[SPEC_ROOT.join('shared/**/*.rb')].each(&method(:require))
Dir[SPEC_ROOT.join('support/**/*.rb')].each(&method(:require))

include Dry::Logic
include Dry::Core::Constants

RSpec.configure do |config|
  config.disable_monkey_patching!

  config.warnings = true
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dry-logic-1.0.5 spec/spec_helper.rb
dry-logic-1.0.4 spec/spec_helper.rb