Sha256: c262db69d07fac2852eff72335bcd42b048383937dbfa0d82bb2016edbd7e617
Contents?: true
Size: 546 Bytes
Versions: 1
Compression:
Stored size: 546 Bytes
Contents
if RUBY_ENGINE == 'ruby' && ENV['COVERAGE'] == 'true' require 'simplecov' SimpleCov.start do add_filter '/spec/' end end begin require 'byebug' rescue LoadError; end require 'dry-events' SPEC_ROOT = Pathname(__dir__) Dir[SPEC_ROOT.join('shared/**/*.rb')].each(&method(:require)) Dir[SPEC_ROOT.join('support/**/*.rb')].each(&method(:require)) RSpec.configure do |config| config.disable_monkey_patching! config.after(:example) do Dry::Events::Publisher.instance_variable_set(:@__registry__, Concurrent::Map.new) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dry-events-0.1.0 | spec/spec_helper.rb |