Sha256: fc4bde03299589a36487d7d96d59a90df7783fd8cbf6f4e7dce8a996242a2139
Contents?: true
Size: 734 Bytes
Versions: 5
Compression:
Stored size: 734 Bytes
Contents
require 'rubygems' require 'bundler' # run simplecov only wehen all tests are executed if ARGV.empty? || ARGV.include?("spec") require 'simplecov' SimpleCov.start 'rails' end REQUIRE_RAILS = true # turn of to run lolita-i18n tests fast begin Bundler.setup(:default, :test) rescue Bundler::BundlerError => e $stderr.puts e.message $stderr.puts "Run `bundle install` to install missing gems" exit e.status_code end if REQUIRE_RAILS require 'rails' require 'rails_spec_helper' end require File.expand_path('lib/lolita-i18n') RSpec.configure do |config| config.treat_symbols_as_metadata_keys_with_true_values = true config.mock_with :rspec config.before(:each, :redis) do Lolita.i18n.store.flushdb end end
Version data entries
5 entries across 5 versions & 1 rubygems