FactoryBot.define do factory :application, class: Sis::Core::Application do status { :draft } payment_made { false } payment_information { nil } application_date { Date.today } association :applicant association :academic_programme association :application_setup end end