Add factory_bot templates
This commit is contained in:
parent
d37a231524
commit
3c55acaa3d
1 changed files with 6 additions and 0 deletions
6
lib/templates/factory_bot/model/factories.erb
Normal file
6
lib/templates/factory_bot/model/factories.erb
Normal file
|
@ -0,0 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
FactoryBot.define do
|
||||
<%= factory_definition.rstrip %>
|
||||
end
|
Loading…
Reference in a new issue