aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGodfrey Chan <godfreykfc@gmail.com>2014-02-09 01:14:00 -0800
committerGodfrey Chan <godfreykfc@gmail.com>2014-02-09 01:14:00 -0800
commit6ac2655ecaec90310aa32395130e6b7c89863941 (patch)
treeaf7c288043e3c009ea939e4423cc13cb0590438c
parent76af5c1d30b41c25f473c58f0333236b54bf7049 (diff)
parenta09c07890a9aee7a40dc145db6cad62b5c50718c (diff)
downloadrails-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.rb2
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