From a09c07890a9aee7a40dc145db6cad62b5c50718c Mon Sep 17 00:00:00 2001 From: SHIBATA Hiroshi Date: Sun, 9 Feb 2014 17:39:55 +0900 Subject: use File.exist? instead of File.exists? --- actionpack/test/dispatch/static_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/test') 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 -- cgit v1.2.3