Created
April 4, 2013 23:15
-
-
Save everaldo/5315218 to your computer and use it in GitHub Desktop.
Rspec configuration
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
--format documentation |
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 |
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
rails generate rspec:install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment