spec/spec_helper.rb in validators-2.1.0 vs spec/spec_helper.rb in validators-2.2.0

- old
+ new

@@ -1,7 +1,6 @@ require "bundler/setup" -Bundler.setup require "active_record" require "validators" require "active_support/all" @@ -10,9 +9,10 @@ Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each {|f| require f} ActiveRecord::Base.establish_connection :adapter => "sqlite3", :database => ":memory:" load "schema.rb" +I18n.enforce_available_locales = false I18n.load_path << File.dirname(__FILE__) + "/support/translations.yml" RSpec.configure do |config| config.before do I18n.locale = :en