Last Updated: September 09, 2019
·
215
· drieanto

Config generator for rspec and factory_girl

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
        g.stylesheets = false
        g.javascripts = false
        g.helper = false
    end

config.autoload_paths += %W(\#{config.root}/lib)