From 3f1f2db43cd8bad6d529b7391411a1300c013d45 Mon Sep 17 00:00:00 2001 From: abdelkader boudih Date: Fri, 3 Jan 2014 17:48:16 +0000 Subject: [PATCH] Remove I18n Deprecation warning in tests. --- spec/spec_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 0615a8199..713cbade4 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -3,6 +3,7 @@ require 'logger' require File.expand_path('../../lib/acts-as-taggable-on', __FILE__) +I18n.enforce_available_locales = true require 'ammeter/init' unless [].respond_to?(:freq)