aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/name_error_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test/core_ext/name_error_test.rb')
-rw-r--r--activesupport/test/core_ext/name_error_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/name_error_test.rb b/activesupport/test/core_ext/name_error_test.rb
index d1dace3713..5c6c12ffc7 100644
--- a/activesupport/test/core_ext/name_error_test.rb
+++ b/activesupport/test/core_ext/name_error_test.rb
@@ -17,7 +17,7 @@ class NameErrorTest < ActiveSupport::TestCase
exc = assert_raise NameError do
some_method_that_does_not_exist
end
- assert !exc.missing_name?(:Foo)
+ assert_not exc.missing_name?(:Foo)
assert_nil exc.missing_name
end
end