FactoryBot.define do factory :casting_call do association :project user_email 'test@email.com' description "Casting call description" project_description "Casting call project description" interview_instructions "Interview instructions" interview_requirements "Interview requirements" questions "Questions" trait :cancelled do cancelled_at { Time.zone.now } end end end