spec/schedule_at_spec.rb in rufus-scheduler-3.0.9 vs spec/schedule_at_spec.rb in rufus-scheduler-3.1.0
- old
+ new
@@ -105,10 +105,10 @@
it 'accepts a time string with a named timezone' do
job = @scheduler.at('2050-12-12 20:30 Europe/Berlin', :job => true) {}
- expect(job.time.strftime('%c %z')).to eq('Mon Dec 12 19:30:00 2050 +0000')
+ expect(job.time.strftime('%c %z')).to eq('Mon Dec 12 20:30:00 2050 +0100')
end
it 'accepts a Chronic string (if Chronic is present)' do
with_chronic do