Sha256: 286a8a995db5e5bf5b79c4e7c84dd985e66260bca267d0ccc6bb7b254ee3648f

Contents?: true

Size: 727 Bytes

Versions: 1

Compression:

Stored size: 727 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-byebug'
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

1 entries across 1 versions & 1 rubygems

Version Path
lost_in_translations-1.2.0 spec/spec_helper.rb