Skip to content

Commit

Permalink
Let tests work correctly even if calendar based escalations is calcul…
Browse files Browse the repository at this point in the history
…ated over midnight.
  • Loading branch information
znuny-robo authored and thorsteneckel committed May 14, 2019
1 parent 2ca17b9 commit 6ae6ee4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions spec/factories/calendar.rb
Expand Up @@ -46,31 +46,31 @@
{
mon: {
active: true,
timeframes: [ ['00:00', '23:59'] ]
timeframes: [ ['00:00', '24:00'] ]
},
tue: {
active: true,
timeframes: [ ['00:00', '23:59'] ]
timeframes: [ ['00:00', '24:00'] ]
},
wed: {
active: true,
timeframes: [ ['00:00', '23:59'] ]
timeframes: [ ['00:00', '24:00'] ]
},
thu: {
active: true,
timeframes: [ ['00:00', '23:59'] ]
timeframes: [ ['00:00', '24:00'] ]
},
fri: {
active: true,
timeframes: [ ['00:00', '23:59'] ]
timeframes: [ ['00:00', '24:00'] ]
},
sat: {
active: true,
timeframes: [ ['00:00', '23:59'] ]
timeframes: [ ['00:00', '24:00'] ]
},
sun: {
active: true,
timeframes: [ ['00:00', '23:59'] ]
timeframes: [ ['00:00', '24:00'] ]
},
}
end
Expand Down

0 comments on commit 6ae6ee4

Please sign in to comment.