Sha256: fd930271092cf8cceb21ffb589763612ff9298e94f9913d8cf330b8dfd4dac7b

Contents?: true

Size: 417 Bytes

Versions: 6

Compression:

Stored size: 417 Bytes

Contents

require "dry/initializer"
begin
  require "pry"
rescue
  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

6 entries across 6 versions & 1 rubygems

Version Path
dry-initializer-2.5.0 spec/spec_helper.rb
dry-initializer-2.4.0 spec/spec_helper.rb
dry-initializer-2.3.0 spec/spec_helper.rb
dry-initializer-2.2.0 spec/spec_helper.rb
dry-initializer-2.1.0 spec/spec_helper.rb
dry-initializer-2.0.0 spec/spec_helper.rb