osulp / Room-Reservation

OSU Libraries & Press Room Reservation System
GNU Affero General Public License v3.0
6 stars 5 forks source link

update hours_manager to handle no closing option #338

Closed luisgreg99 closed 5 years ago

luisgreg99 commented 5 years ago

fixes #337

It turns out that 12:15 am for close time means no closing according to the hours_manager spec: https://github.com/osulp/Room-Reservation/blob/master/spec/models/event_manager/hours_manager_spec.rb#L132

In alma, we use 11:59pm when no closing, so this adds a new case to fix_api_hours.