remove I18n warnings

did committed Jan 07, 2015
commit 6a13902b68a1a01560e543772b2b79e63b2fd2f5
Showing 1 changed file with 4 additions and 1 deletions
locomotive/wagon/generators/content_type.rb b/lib/locomotive/wagon/generators/content_type.rb +4 -1
@@ @@ -4,6 +4,9 @@ require 'active_support'
require 'active_support/core_ext'
require 'faker'
+ # Remove I18n warnings (i18n lib is required by faker)
+ I18n.enforce_available_locales = false
+
module Locomotive
module Wagon
module Generators
@@ @@ -60,4 +63,4 @@ module Locomotive
end
end
- end
\ No newline at end of file
+ end