Created
June 11, 2014 02:04
-
-
Save dperrymorrow/7e4973f5185c40192e96 to your computer and use it in GitHub Desktop.
Rails generators to use RSpec and FactoryGirl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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