Created
August 30, 2013 15:37
-
-
Save Heavyblade/6391118 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| module Offmarket | |
| class Application < Rails::Application | |
| # don't generate RSpec tests for views and helpers | |
| config.generators do |g| | |
| g.test_framework :rspec, fixture: true | |
| g.fixture_replacement :factory_girl, dir: 'spec/factories' | |
| g.view_specs false | |
| g.helper_specs false | |
| end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seems good, but I rather prefer not to generate tests/specs for everything. I prefer to do all the configuration myself. So I go like rails -T and start from there adding the test/spec framework and directory structure that I like.