FactoryBot.define do factory :academic_time_line, class: Sis::Core::AcademicTimeLine do registration_start_date { '2020-11-30' } registration_end_date { '2020-12-30' } penalty_registration_start_date { '2020-11-30' } penalty_registration_end_date { '2020-11-30' } add_and_drop_start_date { '2020-11-30' } add_and_drop_end_date { '2020-11-30' } penalty_add_and_drop_start_date { '2020-11-30' } penalty_add_and_drop_end_date { '2020-11-30' } mid_exam_start_date { '2020-11-30' } mid_exam_end_date { '2020-11-30' } final_exam_start_date { '2020-11-30' } final_exam_end_date { '2020-11-30' } grade_reporting_date { '2020-11-30' } association :academic_year association :semester association :programme_type association :programme_level end end