Pattern: Missing use of refute_path_exists
Issue: -
Enforces the test to use refute_path_exists
instead of using
refute(File.exist?(path))
.
# bad
refute(File.exist?(path))
refute(File.exist?(path), 'message')
# good
refute_path_exists(path)
refute_path_exists(path, 'message')