diff --git a/spec/lib/time_zone_schedule_converter_spec.rb b/spec/lib/time_zone_schedule_converter_spec.rb index b3fa8c77..9e4dbb7c 100644 --- a/spec/lib/time_zone_schedule_converter_spec.rb +++ b/spec/lib/time_zone_schedule_converter_spec.rb @@ -77,8 +77,8 @@ context 'when the adjusted hour moves behind into previous day(s)' do let(:from_zone) { 'UTC' } let(:to_zone) { 'Greenland' } - let(:hour) { 1 } - let(:adjusted_hour) { 24 + to_zone_offset + 1 } + let(:hour) { 0 } + let(:adjusted_hour) { 24 + to_zone_offset } it 'returns the adjusted hour and previous day(s)' do expect(subject).to eq(