diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-11-06 11:52:38 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-11-06 11:52:38 -0200 |
commit | df93428d91b71f0600e246056a9e8b4a89f06705 (patch) | |
tree | bc2cc62bc8448909129009ce5e1616cc6cb206bd | |
parent | 60c45b0d0aa89b3737e0706890d9552c2c98e38e (diff) | |
parent | 33302fdd14d6e82293d1d8ea151af1197e7d74e2 (diff) | |
download | rails-df93428d91b71f0600e246056a9e8b4a89f06705.tar.gz rails-df93428d91b71f0600e246056a9e8b4a89f06705.tar.bz2 rails-df93428d91b71f0600e246056a9e8b4a89f06705.zip |
Merge pull request #17536 from vipulnsward/fix-group-expression-warning
Fixed grouped expression warning
-rw-r--r-- | activesupport/test/core_ext/range_ext_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/core_ext/range_ext_test.rb b/activesupport/test/core_ext/range_ext_test.rb index 98c4ec6b5e..f096328cee 100644 --- a/activesupport/test/core_ext/range_ext_test.rb +++ b/activesupport/test/core_ext/range_ext_test.rb @@ -115,11 +115,11 @@ class RangeTest < ActiveSupport::TestCase def test_date_time_with_each datetime = DateTime.now - assert ((datetime - 1.hour)..datetime).each {} + assert(((datetime - 1.hour)..datetime).each {}) end def test_date_time_with_step datetime = DateTime.now - assert ((datetime - 1.hour)..datetime).step(1) {} + assert(((datetime - 1.hour)..datetime).step(1) {}) end end |