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

Version Path
enumerate_it-3.2.4 spec/spec_helper.rb
enumerate_it-3.2.3 spec/spec_helper.rb
enumerate_it-3.2.2 spec/spec_helper.rb
enumerate_it-3.2.1 spec/spec_helper.rb
enumerate_it-3.2.0 spec/spec_helper.rb
enumerate_it-3.1.0 spec/spec_helper.rb
enumerate_it-3.1.0.rc1 spec/spec_helper.rb