Remove fixtures, configure factory generation
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-12-02 15:40:41 +01:00
parent e5fe843814
commit 69b99711e5
3 changed files with 5 additions and 24 deletions

View File

@@ -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