Sha256: 8213766c77ba85aa3218d790afe6fc67fad4cdef9343b0f6d27a6cf9c93ab037

Contents?: true

Size: 535 Bytes

Versions: 1

Compression:

Stored size: 535 Bytes

Contents

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

require "dry/initializer"

begin
  require "pry"
rescue LoadError
  nil
end

RSpec.configure do |config|
  config.order = :random
  config.filter_run focus: true
  config.run_all_when_everything_filtered = true

  # Prepare the Test namespace for constants defined in specs
  config.around(:each) do |example|
    Test = Class.new(Module)
    example.run
    Object.send :remove_const, :Test
  end

  config.warnings = true
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dry-initializer-3.0.2 spec/spec_helper.rb