Fix time-dependent test

This test would fail when the two timezones is covers landed on
different days (like in the first few hours of UTC). So let's fix the
test to a particular moment in time.
This commit is contained in:
Kevin McConnell
2025-02-17 15:07:17 +00:00
parent 0258f09dd8
commit c75247133e
@@ -5,6 +5,7 @@ class EventsControllerTest < ActionDispatch::IntegrationTest
sign_in_as :kevin
events(:layout_assignment_jz).update!(created_at: Time.current.beginning_of_day + 8.hours)
travel_to Time.current.beginning_of_day + 15.hours
end
test "index" do