Skip to content

Commit

Permalink
Fix show spec before 10AM
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverguenther committed Dec 5, 2024
1 parent 847fce5 commit 36e60e1
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,10 @@

context "with no scheduled meetings" do
it "shows the next five occurrences" do
get recurring_meeting_path(recurring_meeting)
# Assuming we're past today's occurrence
Timecop.freeze(Time.zone.today + 11.hours) do
get recurring_meeting_path(recurring_meeting)
end

(1..5).each do |date|
expect(page).to have_text format_time(Time.zone.today + date.days + 10.hours)
Expand Down

0 comments on commit 36e60e1

Please sign in to comment.