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

Merge pull request #34421 from albertoalmagro/use-assert-not-instead-of-refute

Prefer assert_not instead of refute [ci skip]
This commit is contained in:
Guillermo Iguaran 2018-11-10 16:34:33 -05:00 committed by GitHub
commit ab5d5c95ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -18,6 +18,6 @@ require "minitest/autorun"
class BugTest < Minitest::Test
def test_stuff
assert "zomg".present?
refute "".present?
assert_not "".present?
end
end

View file

@ -17,6 +17,6 @@ require "minitest/autorun"
class BugTest < Minitest::Test
def test_stuff
assert "zomg".present?
refute "".present?
assert_not "".present?
end
end