Skip to content

Instantly share code, notes, and snippets.

@faun
Last active December 11, 2015 19:48
Show Gist options
  • Save faun/4650819 to your computer and use it in GitHub Desktop.
Save faun/4650819 to your computer and use it in GitHub Desktop.
config/application.rb
module MyApp
class Application < Rails::Application
#...
config.generators do |g|
g.test_framework :rspec,
fixtures: true,
view_specs: false,
helper_specs: false,
routing_specs: false,
controller_specs: true,
request_specs: true
g.fixture_replacement :factory_girl, dir: "spec/factories"
end
#...
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment