Sha256: a47baf92d2868653d9b7070c17e9624b66d4ae2224fef56cb7d7efb4c7781de6

Contents?: true

Size: 720 Bytes

Versions: 4

Compression:

Stored size: 720 Bytes

Contents

require "codeclimate-test-reporter"

CodeClimate::TestReporter.start

require "simplecov"

SimpleCov.start do
  root("lib/")
  coverage_dir("../tmp/coverage/")
end

$: << File.expand_path('../', File.dirname(__FILE__))

require 'pry'
require 'active_record'
require 'lost_in_translations'

I18n.available_locales = [:en, :pt, :fr, :de]
I18n.default_locale = :pt

ActiveRecord::Base.establish_connection \
  pool: 5,
  timeout: 5000,
  adapter: 'sqlite3',
  database: File.expand_path('../spec/support/db/test.sqlite3', File.dirname(__FILE__))

Dir["./spec/**/support/**/*.rb"].each do |file|
  require file
end

RSpec.configure do |config|
  config.run_all_when_everything_filtered = true

  config.order = 'random'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lost_in_translations-1.4.0 spec/spec_helper.rb
lost_in_translations-1.3.2 spec/spec_helper.rb
lost_in_translations-1.3.1 spec/spec_helper.rb
lost_in_translations-1.3.0 spec/spec_helper.rb