FactoryBot.define do factory :lookahead_plan_task_progress, class: Ecom::Core::LookaheadPlanTaskProgress do association :lookahead_plan association :task started_on { Time.now } ended_on { Time.now + 2.day } lookahead_plan_revision_number { 1 } end end