Skip to content

Instantly share code, notes, and snippets.

@antillas21
Created June 15, 2012 01:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antillas21/2934159 to your computer and use it in GitHub Desktop.
Save antillas21/2934159 to your computer and use it in GitHub Desktop.
RSpec configuration in application.rb
# configuring generators
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment