From c427b4865d8b47ff85545cf1ba0c5cf7ae211e4b Mon Sep 17 00:00:00 2001 From: Jon Atack Date: Sat, 17 May 2014 23:12:59 +0200 Subject: [PATCH] Remove I18n deprecation message when running tests --- spec/spec_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 09327f819..9338d52b4 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -3,6 +3,7 @@ require 'faker' require 'ransack' +I18n.enforce_available_locales = false Time.zone = 'Eastern Time (US & Canada)' I18n.load_path += Dir[File.join(File.dirname(__FILE__), 'support', '*.yml')]