Remove fixtures, configure factory generation
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -33,10 +33,11 @@ module Akkounts
|
||||
config.generators.system_tests = nil
|
||||
|
||||
config.generators do |g|
|
||||
g.orm :active_record
|
||||
g.template_engine :erb
|
||||
g.test_framework :rspec, fixture: true
|
||||
g.stylesheets false
|
||||
g.orm :active_record
|
||||
g.template_engine :erb
|
||||
g.test_framework :rspec, fixture: true
|
||||
g.fixture_replacement :factory_bot, suffix_factory: 'factory', dir: 'spec/factories'
|
||||
g.stylesheets false
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user