mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Use assert_nil instead as its clearer about what the return is expected to be
This commit is contained in:
parent
8c4ca897a9
commit
36bf5acd23
1 changed files with 1 additions and 1 deletions
|
@ -50,6 +50,6 @@ class InTest < ActiveSupport::TestCase
|
|||
|
||||
def test_present_in
|
||||
assert_equal "stuff", "stuff".present_in(%w( lots of stuff ))
|
||||
assert_not "stuff".present_in(%w( lots of crap ))
|
||||
assert_nil "stuff".present_in(%w( lots of crap ))
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue