# frozen_string_literal: true

FactoryBot.define do
  factory :homework do
    classroom
    topic
    due_date { rand((Time.now + 1.day)..(Time.now + 1.week)) }
    required { rand(0..100) }
  end
end
