From aae112cdb7ab944670d9ec0ad40e04fee4d26166 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Mon, 28 Jul 2014 12:58:46 +0300 Subject: [PATCH] Configure what's getting generated by Rails --- config/application.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/application.rb b/config/application.rb index 33af726..389cbfa 100644 --- a/config/application.rb +++ b/config/application.rb @@ -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