Permalink
Browse files

Merge pull request #13983 from hsbt/remove-warning

use File.exist? instead of File.exists?
  • Loading branch information...
2 parents 76af5c1 + a09c078 commit 6ac2655ecaec90310aa32395130e6b7c89863941 @chancancode chancancode committed Feb 9, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/test/dispatch/static_test.rb
@@ -144,7 +144,7 @@ def with_static_file(file)
yield file
ensure
- File.delete(path) if File.exists? path
+ File.delete(path) if File.exist? path
end
end

0 comments on commit 6ac2655

Please sign in to comment.