Skip to content

Commit 300bffc

Browse files
martagrrezMarta Gutiérrez
andauthored
Fix: Fix TimeZoneScheduleConverter tests (#457)
* Fix: Fix TimeZoneScheduleConverter tests Change test values to fix the test. * Fix: Fix linter Remove Trailing whitespace --------- Co-authored-by: Marta Gutiérrez <[email protected]>
1 parent 5711d2e commit 300bffc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/lib/time_zone_schedule_converter_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@
7777
context 'when the adjusted hour moves behind into previous day(s)' do
7878
let(:from_zone) { 'UTC' }
7979
let(:to_zone) { 'Greenland' }
80-
let(:hour) { 1 }
81-
let(:adjusted_hour) { 24 + to_zone_offset + 1 }
80+
let(:hour) { 0 }
81+
let(:adjusted_hour) { 24 + to_zone_offset }
8282

8383
it 'returns the adjusted hour and previous day(s)' do
8484
expect(subject).to eq(

0 commit comments

Comments
 (0)