aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activesupport/test/core_ext/duration_test.rb4
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