1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Update test name to the corresponding method name

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
This commit is contained in:
Sebastian Martinez 2011-04-12 20:10:50 -03:00 committed by Santiago Pastorino
parent 3366479a9a
commit a616e7a88c

View file

@ -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])