Sha256: ec755defee218e0b1f486c4cd264124e2fb5cdebf510a11278d4e56d575e7cb5
Contents?: true
Size: 631 Bytes
Versions: 1
Compression:
Stored size: 631 Bytes
Contents
require 'bundler' Bundler.setup if RUBY_ENGINE == 'ruby' && ENV['CI'] == 'true' require 'simplecov' SimpleCov.start do add_filter '/spec/' end end require 'rom-yesql' require 'inflecto' require 'logger' begin require 'byebug' rescue LoadError # rubocop:disable Lint/HandleExceptions end LOGGER = Logger.new(File.open('./log/test.log', 'a')) root = Pathname(__FILE__).dirname Dir[root.join('shared/*.rb').to_s].each { |f| require f } RSpec.configure do |config| config.before do module Test end end config.after do Object.send(:remove_const, :Test) end config.disable_monkey_patching! end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rom-yesql-0.4.0 | spec/spec_helper.rb |