diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2014-02-09 01:14:00 -0800 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2014-02-09 01:14:00 -0800 |
commit | 6ac2655ecaec90310aa32395130e6b7c89863941 (patch) | |
tree | af7c288043e3c009ea939e4423cc13cb0590438c | |
parent | 76af5c1d30b41c25f473c58f0333236b54bf7049 (diff) | |
parent | a09c07890a9aee7a40dc145db6cad62b5c50718c (diff) | |
download | rails-6ac2655ecaec90310aa32395130e6b7c89863941.tar.gz rails-6ac2655ecaec90310aa32395130e6b7c89863941.tar.bz2 rails-6ac2655ecaec90310aa32395130e6b7c89863941.zip |
Merge pull request #13983 from hsbt/remove-warning
use File.exist? instead of File.exists?
-rw-r--r-- | actionpack/test/dispatch/static_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/static_test.rb b/actionpack/test/dispatch/static_test.rb index 01cca69288..afdda70748 100644 --- a/actionpack/test/dispatch/static_test.rb +++ b/actionpack/test/dispatch/static_test.rb @@ -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 |