aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/core_ext/object/inclusion_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/object/inclusion_test.rb b/activesupport/test/core_ext/object/inclusion_test.rb
index 25120deb81..9f2ace0ef7 100644
--- a/activesupport/test/core_ext/object/inclusion_test.rb
+++ b/activesupport/test/core_ext/object/inclusion_test.rb
@@ -30,7 +30,7 @@ class InTest < Test::Unit::TestCase
assert !3.in?(s)
end
- def test_either
+ def test_among
assert 1.among?(1,2,3)
assert !5.among?(1,2,3)
assert [1,2,3].among?([1,2,3], 2, [3,4,5])