Skip to content

Commit

Permalink
Fix broken spec for unsubmitted course alerts
Browse files Browse the repository at this point in the history
I didn't notice that I broke when I changed the TIME_AFTER_CREATION period recently. This updates the spec correspondingly.
  • Loading branch information
ragesoss committed Jan 2, 2024
1 parent 6dd9bcd commit 1ae1078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lib/alerts/unsubmitted_course_alert_manager_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
submitted: false,
slug: 'last_minute_course',
start: 3.days.from_now,
created_at: 1.week.ago)
created_at: 4.days.ago)
subject.create_alerts
expect(Alert.count).to eq(2)
end
Expand Down

0 comments on commit 1ae1078

Please sign in to comment.