Sha256: d60fc3bfebed8257041eadabfecb73e9487d7828d27811a871fff2e601bb821d
Contents?: true
Size: 486 Bytes
Versions: 7
Compression:
Stored size: 486 Bytes
Contents
$LOAD_PATH.unshift File.expand_path('../lib', __dir__) require 'enumerate_it' require 'active_support/all' require 'active_record' Dir['./spec/support/**/*.rb'].sort.each { |f| require f } I18n.config.enforce_available_locales = false I18n.load_path = Dir['spec/i18n/*.yml'] RSpec.configure do |config| config.filter_run_when_matching :focus config.before(:each, sqlite: true) do ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:') end end
Version data entries
7 entries across 7 versions & 1 rubygems