Configure what's getting generated by Rails
This commit is contained in:
parent
e4554ecf5d
commit
aae112cdb7
|
@ -19,5 +19,15 @@ module Clarion
|
||||||
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
||||||
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
||||||
# config.i18n.default_locale = :de
|
# config.i18n.default_locale = :de
|
||||||
|
|
||||||
|
config.generators do |g|
|
||||||
|
g.test_framework :rspec, fixtures: true,
|
||||||
|
view_specs: false,
|
||||||
|
helper_specs: false,
|
||||||
|
routing_specs: false,
|
||||||
|
request_specs: false
|
||||||
|
|
||||||
|
g.fixture_replacement :factory_girl, dir: 'spec/factories'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue