From 550fbcceddceabdb4fe000ee52142e8461b28d54 Mon Sep 17 00:00:00 2001 From: Pratik Naik Date: Fri, 17 Oct 2008 23:57:54 +0200 Subject: Fix test warnings --- activesupport/test/core_ext/duration_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activesupport/test') 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 -- cgit v1.2.3