Sha256: a706d93fecd88b7a95912fef767d412709387726e5523ad80f7c9337b75e4ad0

Contents?: true

Size: 578 Bytes

Versions: 1

Compression:

Stored size: 578 Bytes

Contents

# frozen_string_literal: true

if ENV['COVERAGE'] == 'true'
  require 'codacy-coverage'
  Codacy::Reporter.start
end

begin
  require 'byebug'
rescue LoadError;end

require 'dry/transformer/all'

root = Pathname(__FILE__).dirname
Dir[root.join('support/*.rb').to_s].each { |f| require f }

# Namespace holding all objects created during specs
module Test
  def self.remove_constants
    constants.each(&method(:remove_const))
  end
end

RSpec.configure do |config|
  config.after do
    Test.remove_constants
  end

  config.disable_monkey_patching!
  config.warnings = true
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dry-transformer-0.1.0 spec/spec_helper.rb