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

use File.exist? instead of File.exists?

This commit is contained in:
SHIBATA Hiroshi 2014-02-09 17:39:55 +09:00
parent 76af5c1d30
commit a09c07890a

View file

@ -144,7 +144,7 @@ module StaticTests
yield file
ensure
File.delete(path) if File.exists? path
File.delete(path) if File.exist? path
end
end