Feat: Show working hours on widget (#1823)
Feat: Display out of office message based on business hours Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com> Co-authored-by: Sojan Jose <sojan@pepalo.com>
This commit is contained in:
committed by
GitHub
parent
1d2e1a2823
commit
6c87001a0e
@@ -18,7 +18,7 @@ RSpec.describe WorkingHour do
|
||||
context 'when on sunday 1pm' do
|
||||
before do
|
||||
Time.zone = 'UTC'
|
||||
create(:working_hour, day_of_week: 7, closed_all_day: true)
|
||||
create(:working_hour, day_of_week: 0, closed_all_day: true)
|
||||
travel_to '01.11.2020 13:00'.to_datetime
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user