group.rb 219 B

1234567891011121314
  1. FactoryBot.define do
  2. sequence :test_group_name do |n|
  3. "TestGroup#{n}"
  4. end
  5. end
  6. FactoryBot.define do
  7. factory :group do
  8. name { generate(:test_group_name) }
  9. created_by_id 1
  10. updated_by_id 1
  11. end
  12. end