test/teasy/floating_time_test.rb in teasy-0.2.0 vs test/teasy/floating_time_test.rb in teasy-0.2.1

- old
+ new

@@ -23,11 +23,11 @@ assert_equal 0, timestamp.hour end def test_in_time_zone time = Teasy::FloatingTime.new(2014, 1, 1, 12) + assert_equal Time.utc(2014, 1, 1, 12), time.in_time_zone assert_equal Time.utc(2014, 1, 1, 11), time.in_time_zone('Europe/Berlin') - assert_equal Time.utc(2014, 1, 1, 12), time.in_time_zone('Europe/London') assert_equal Time.utc(2014, 1, 1, 6, 30), time.in_time_zone('Asia/Calcutta') assert_equal Time.utc(2014, 1, 1, 17), time.in_time_zone('America/New_York') assert_raises(TZInfo::AmbiguousTime) do Teasy::FloatingTime.new(2014, 10, 26, 2).in_time_zone('Europe/Berlin') end