From 3d4004ab635f64952e1f6bf5d881ec0be7f37721 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Fri, 22 May 2015 19:16:47 +0800 Subject: Remove deprecation warning. https://travis-ci.org/rails/rails/jobs/63594316#L1982 --- actionview/test/actionpack/controller/render_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionview/test') diff --git a/actionview/test/actionpack/controller/render_test.rb b/actionview/test/actionpack/controller/render_test.rb index ecebd2d8c5..7cbc77f11f 100644 --- a/actionview/test/actionpack/controller/render_test.rb +++ b/actionview/test/actionpack/controller/render_test.rb @@ -682,7 +682,7 @@ class RenderTest < ActionController::TestCase def case_sensitive_file_system? fname = '.case_sensitive_file_system_test' FileUtils.touch(fname) - !File.exists?(fname.upcase) + !File.exist?(fname.upcase) ensure FileUtils.rm_f(fname) end -- cgit v1.2.3