Sha256: a945b04c5dbec711e35f2c68da6e87c2f5edc99b5f21804baab7cc44fb5306c2

Contents?: true

Size: 428 Bytes

Versions: 2

Compression:

Stored size: 428 Bytes

Contents

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

2 entries across 2 versions & 1 rubygems

Version Path
dry-initializer-3.0.1 spec/spec_helper.rb
dry-initializer-3.0.0 spec/spec_helper.rb