lib/stationed/generators/plugins/i18n_spec.rb in stationed-0.3.0 vs lib/stationed/generators/plugins/i18n_spec.rb in stationed-0.4.0
- old
+ new
@@ -9,10 +9,10 @@
desc: 'Set up tests for locale files'
end
def finish_template
return super unless options[:i18n_spec]
- gem 'i18n-spec', group: :test
+ gem 'i18n-spec', group: :test, require: false
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