aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2015-05-14 12:08:35 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2015-05-14 12:08:35 -0300
commit22ae4493a3a09ab223f22893b1badff97bc405ee (patch)
tree2c1d8db50eed0e0183c8d047f2dbd548fc739795
parent864a41bc0463e94b6e0c61d4d8d86043e6d0a64f (diff)
parent90f3c28820fa126ccab4635868c9b69cc9ef2cef (diff)
downloadrails-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.rb4
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