osem-fcy/spec/factories/tickets.rb
James Mason 199bc00c08
Add (admin-only) tickets via 'visibile' attribute [migration]
(cherry picked from commit ce0db3d7a736e7bcde480721986dbfb4a82aa083)
2025-08-14 17:36:31 +02:00

13 lines
283 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :ticket do
title { "#{Faker::Hipster.word} Ticket" }
price_cents { 1000 }
price_currency { 'USD' }
visible { true }
factory :registration_ticket do
registration_ticket { true }
end
end
end