Sha256: 2de5d114ee374bf2c67ecc9cffc96ef740de22fe8c876d2eeae4cfd747cd6789
Contents?: true
Size: 705 Bytes
Versions: 1
Compression:
Stored size: 705 Bytes
Contents
if RUBY_ENGINE == "ruby" require "codeclimate-test-reporter" CodeClimate::TestReporter.start require "simplecov" SimpleCov.start do add_filter "/spec/" end end begin require 'byebug' rescue LoadError; end SPEC_ROOT = Pathname(__FILE__).dirname Dir[SPEC_ROOT.join('support/*.rb').to_s].each { |f| require f } Dir[SPEC_ROOT.join('shared/*.rb').to_s].each { |f| require f } require "dry-web" module Test; end RSpec.configure do |config| config.disable_monkey_patching! config.before do @test_constants = Test.constants end config.after do added_constants = Test.constants - @test_constants added_constants.each { |name| Test.send(:remove_const, name) } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dry-web-0.2.0 | spec/spec_helper.rb |