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:
parent
3366479a9a
commit
a616e7a88c
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ class InTest < Test::Unit::TestCase
|
||||||
assert !3.in?(s)
|
assert !3.in?(s)
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_either
|
def test_among
|
||||||
assert 1.among?(1,2,3)
|
assert 1.among?(1,2,3)
|
||||||
assert !5.among?(1,2,3)
|
assert !5.among?(1,2,3)
|
||||||
assert [1,2,3].among?([1,2,3], 2, [3,4,5])
|
assert [1,2,3].among?([1,2,3], 2, [3,4,5])
|
||||||
|
|
Loading…
Reference in a new issue