Sha256: aed0a1f3ed8248d9686ea5ade0fea88b085974589533ec9bed105702d99d70b7

Contents?: true

Size: 368 Bytes

Versions: 1

Compression:

Stored size: 368 Bytes

Contents

# encoding: utf-8

require 'dry-importer'

Dir[Pathname(__FILE__).dirname.join('support/**/*.rb').to_s].each do |file|
  require file
end

# 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
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dry-importer-0.0.1 spec/spec_helper.rb