diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2015-05-14 12:08:35 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2015-05-14 12:08:35 -0300 |
commit | 22ae4493a3a09ab223f22893b1badff97bc405ee (patch) | |
tree | 2c1d8db50eed0e0183c8d047f2dbd548fc739795 | |
parent | 864a41bc0463e94b6e0c61d4d8d86043e6d0a64f (diff) | |
parent | 90f3c28820fa126ccab4635868c9b69cc9ef2cef (diff) | |
download | rails-22ae4493a3a09ab223f22893b1badff97bc405ee.tar.gz rails-22ae4493a3a09ab223f22893b1badff97bc405ee.tar.bz2 rails-22ae4493a3a09ab223f22893b1badff97bc405ee.zip |
Merge pull request #20155 from y-yagi/remove_warning_from_integer_ext_test
remove warning from integer ext test
-rw-r--r-- | activesupport/test/core_ext/integer_ext_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/core_ext/integer_ext_test.rb b/activesupport/test/core_ext/integer_ext_test.rb index 6eeadb2ace..883dc77a98 100644 --- a/activesupport/test/core_ext/integer_ext_test.rb +++ b/activesupport/test/core_ext/integer_ext_test.rb @@ -31,11 +31,11 @@ class IntegerExtTest < ActiveSupport::TestCase def test_positive assert 1.positive? assert_not 0.positive? - assert_not -1.positive? + assert_not(-1.positive?) end def test_negative - assert -1.negative? + assert(-1.negative?) assert_not 0.negative? assert_not 1.negative? end |