17 lines
452 B
Ruby
17 lines
452 B
Ruby
FactoryBot.define do
|
|
factory :casting_call do
|
|
association :project
|
|
user_email 'test@email.com'
|
|
title 'Casting Call Title'
|
|
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
|