Sha256: c4f2032b15d8ee895e16e7b2e71f069d860bb720a52a5c6bb6910187dfb48c00

Contents?: true

Size: 476 Bytes

Versions: 1

Compression:

Stored size: 476 Bytes

Contents

$LOAD_PATH.unshift File.expand_path('../lib', __dir__)

require 'enumerate_it'

require 'active_support/all'
require 'active_record'

Dir['./spec/support/**/*.rb'].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) do
    ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enumerate_it-4.0.0 spec/spec_helper.rb