Sha256: 52dc45eecabda5061ec9ea5dfd1b6bee61fe7d5d341284096170537bdbf81224
Contents?: true
Size: 723 Bytes
Versions: 1
Compression:
Stored size: 723 Bytes
Contents
# encoding: utf-8 # this is needed for guard to work, not sure why :( require "bundler" Bundler.setup if RUBY_ENGINE == "rbx" require "codeclimate-test-reporter" CodeClimate::TestReporter.start end require 'rom-repository' require 'rom-sql' begin require 'byebug' rescue LoadError end root = Pathname(__FILE__).dirname Dir[root.join('support/*.rb').to_s].each do |f| require f end Dir[root.join('shared/*.rb').to_s].each do |f| require f 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 config.include(MapperRegistry) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rom-repository-0.0.1 | spec/spec_helper.rb |