diff options
author | Daniel Colson <danieljamescolson@gmail.com> | 2018-01-24 22:04:11 -0500 |
---|---|---|
committer | Daniel Colson <danieljamescolson@gmail.com> | 2018-01-25 23:32:58 -0500 |
commit | 211adb47e76b358ea15a3f756431c042ab231c23 (patch) | |
tree | f688daea11af3dce588e3c5a9791722a2f3aaec5 /activesupport | |
parent | 0d50cae996c51630361e8514e1f168b0c48957e1 (diff) | |
download | rails-211adb47e76b358ea15a3f756431c042ab231c23.tar.gz rails-211adb47e76b358ea15a3f756431c042ab231c23.tar.bz2 rails-211adb47e76b358ea15a3f756431c042ab231c23.zip |
Change refute to assert_not
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/test/core_ext/class_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/core_ext/class_test.rb b/activesupport/test/core_ext/class_test.rb index 9cc006fc63..5ea288738e 100644 --- a/activesupport/test/core_ext/class_test.rb +++ b/activesupport/test/core_ext/class_test.rb @@ -30,11 +30,11 @@ class ClassTest < ActiveSupport::TestCase def test_descendants_excludes_singleton_classes klass = Parent.new.singleton_class - refute Parent.descendants.include?(klass), "descendants should not include singleton classes" + assert_not Parent.descendants.include?(klass), "descendants should not include singleton classes" end def test_subclasses_excludes_singleton_classes klass = Parent.new.singleton_class - refute Parent.subclasses.include?(klass), "subclasses should not include singleton classes" + assert_not Parent.subclasses.include?(klass), "subclasses should not include singleton classes" end end |