Fix test warnings

This commit is contained in:
Pratik Naik 2008-10-17 23:57:54 +02:00
parent ffbd7dd8ee
commit 550fbccedd
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@ class DurationTest < Test::Unit::TestCase
end
def test_fractional_weeks
assert_equal (86400 * 7) * 1.5, 1.5.weeks
assert_equal (86400 * 7) * 1.7, 1.7.weeks
assert_equal((86400 * 7) * 1.5, 1.5.weeks)
assert_equal((86400 * 7) * 1.7, 1.7.weeks)
end
def test_fractional_days