priority.rb 187 B

1234567
  1. FactoryBot.define do
  2. factory :'ticket/priority', aliases: %i[ticket_priority] do
  3. sequence(:name) { |n| "#{n} urgent" }
  4. updated_by_id { 1 }
  5. created_by_id { 1 }
  6. end
  7. end