spec/parse_spec.rb in rufus-scheduler-3.0.8 vs spec/parse_spec.rb in rufus-scheduler-3.0.9
- old
+ new
@@ -45,9 +45,13 @@
)
expect(parse('Japan Sun Nov 18 16:01:00 2012').getutc.strftime('%c')).to eq(
'Sun Nov 18 07:01:00 2012'
)
+
+ expect(parse('Sun Nov 18 16:01:00 2012 America/New_York').getutc.strftime('%c')).to eq(
+ 'Sun Nov 18 21:01:00 2012'
+ )
end
it 'parses datetimes with named timezones' do
expect(parse(