Skip to content

Commit

Permalink
remove randomness
Browse files Browse the repository at this point in the history
  • Loading branch information
stakach committed Jul 11, 2024
1 parent fc43a7c commit 4fbc0fe
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions spec/controllers/recurring_bookings_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ describe Bookings do
booking1.booking_end = (Time.local.at_beginning_of_day + 10.hours).to_unix
booking1.save!

booking2.booking_start = (Time.local.at_beginning_of_day + 8.hours).to_unix
booking2.booking_end = (Time.local.at_beginning_of_day + 10.hours).to_unix
booking2.save!

booking3.booking_start = (Time.local.at_beginning_of_day + 8.hours).to_unix
booking3.booking_end = (Time.local.at_beginning_of_day + 10.hours).to_unix
booking3.save!

starting = Time.local.at_beginning_of_day.to_unix
ending = 4.days.from_now.to_unix

Expand Down

0 comments on commit 4fbc0fe

Please sign in to comment.