Sha256: d3cbd86ad42cf5a66ad20fb98ad807e6cb1f67c274628371316b507d52ed2251

Contents?: true

Size: 385 Bytes

Versions: 2

Compression:

Stored size: 385 Bytes

Contents

# encoding: utf-8

begin
  require "hexx-suit"
  Hexx::Suit.load_metrics_for(self)
rescue LoadError
  require "hexx-rspec"
  Hexx::RSpec.load_metrics_for(self)
end

# Loads the code under test
require "abstract_mapper"

RSpec.configure do |config|
  config.around do |example|
    module AbstractMapper::Test; end
    example.run
    AbstractMapper.send :remove_const, :Test
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
abstract_mapper-0.1.0 spec/spec_helper.rb
abstract_mapper-0.0.2 spec/spec_helper.rb