Configure what's getting generated by Rails

This commit is contained in:
Petko Bordjukov 2014-07-28 12:58:46 +03:00
parent e4554ecf5d
commit aae112cdb7
1 changed files with 10 additions and 0 deletions

View File

@ -19,5 +19,15 @@ module Clarion
# 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.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