aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <shibata.hiroshi@gmail.com>2014-02-09 17:39:55 +0900
committerSHIBATA Hiroshi <shibata.hiroshi@gmail.com>2014-02-09 17:39:55 +0900
commita09c07890a9aee7a40dc145db6cad62b5c50718c (patch)
treeaf7c288043e3c009ea939e4423cc13cb0590438c /actionpack
parent76af5c1d30b41c25f473c58f0333236b54bf7049 (diff)
downloadrails-a09c07890a9aee7a40dc145db6cad62b5c50718c.tar.gz
rails-a09c07890a9aee7a40dc145db6cad62b5c50718c.tar.bz2
rails-a09c07890a9aee7a40dc145db6cad62b5c50718c.zip
use File.exist? instead of File.exists?
Diffstat (limited to 'actionpack')
-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