lib/stationed/generators/plugins/i18n_spec.rb in stationed-0.1.0 vs lib/stationed/generators/plugins/i18n_spec.rb in stationed-0.2.0
- old
+ new
@@ -11,9 +11,11 @@
def finish_template
return super unless options[:i18n_spec]
gem 'i18n-spec', group: :test
copy_file 'i18n_spec.rb', 'spec/locales/i18n_spec.rb'
+ uncomment_lines 'config/environments/development.rb', /raise_on_missing_translations/
+ uncomment_lines 'config/environments/test.rb', /raise_on_missing_translations/
super
end
end
end
end