diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2008-10-17 23:57:54 +0200 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-10-17 23:57:54 +0200 |
commit | 550fbcceddceabdb4fe000ee52142e8461b28d54 (patch) | |
tree | a6b5c25c46834c1582b006a6cd2a9e29e2584a93 /activesupport | |
parent | ffbd7dd8eef4ceab48a45825172821fdda96b6a6 (diff) | |
download | rails-550fbcceddceabdb4fe000ee52142e8461b28d54.tar.gz rails-550fbcceddceabdb4fe000ee52142e8461b28d54.tar.bz2 rails-550fbcceddceabdb4fe000ee52142e8461b28d54.zip |
Fix test warnings
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/test/core_ext/duration_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/core_ext/duration_test.rb b/activesupport/test/core_ext/duration_test.rb index 80cc6d25d3..5cd52d8d79 100644 --- a/activesupport/test/core_ext/duration_test.rb +++ b/activesupport/test/core_ext/duration_test.rb @@ -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 |