public
Last active

My default generators configuration

  • Download Gist
application.rb
Ruby
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# Generators
config.generators do |generator|
generator.helper false
generator.stylesheets false
generator.javascripts false
generator.controllers true
generator.template_engine :haml
generator.integration_tool :rspec
generator.test_framework :rspec, controller_specs: false,
view_specs: false,
helper_specs: false,
routing_specs: false,
request_specs: true
# generator.fixture_replacement nil
generator.fixture_replacement :factory_girl,
dir: 'spec/support/factories'
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.