test/timezone/test_zone.rb in timezone-1.2.6 vs test/timezone/test_zone.rb in timezone-1.2.7
- old
+ new
@@ -60,10 +60,10 @@
def test_comparable
assert paris > la
assert la < paris
assert la == zone('America/Los_Angeles')
- assert_equal nil, paris <=> 8
+ assert_nil paris <=> 8
end
def test_est5edt_dst_now
Timecop.freeze(Time.new(2012, 2, 2, 0, 0, 0)) do
refute zone('EST5EDT').dst?(Time.now)