mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-13 09:20:38 -07:00
moving weekend logic into the next_attempt_at logic in recipient_schedule
This commit is contained in:
parent
ac7858c5f6
commit
a2300a58b9
4 changed files with 32 additions and 12 deletions
|
|
@ -13,6 +13,7 @@ describe "survey:attempt_questions" do
|
|||
n += 1.day until n.on_weekday?
|
||||
return n
|
||||
}
|
||||
|
||||
let(:ready_recipient_schedule) { double('ready recipient schedule', attempt_question: nil) }
|
||||
let(:recipient_schedules) { double("recipient schedules", ready: [ready_recipient_schedule]) }
|
||||
let(:active_schedule) { double("active schedule", recipient_schedules: recipient_schedules) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue