Sha256: 69ed8cdf73a21d9ba3370c8f11eb9ff6a3ce9bf3a55b24fdec91f1271d9d9bfa

Contents?: true

Size: 582 Bytes

Versions: 1

Compression:

Stored size: 582 Bytes

Contents

if RUBY_ENGINE == 'ruby' && RUBY_VERSION >= '2.3.1'
  require "codeclimate-test-reporter"
  CodeClimate::TestReporter.start
end

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

begin
  require '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!
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dry-logic-0.4.0 spec/spec_helper.rb