diff options
author | Guo Xiang Tan <tgx_world@hotmail.com> | 2015-05-22 19:16:47 +0800 |
---|---|---|
committer | Guo Xiang Tan <tgx_world@hotmail.com> | 2015-05-22 19:16:47 +0800 |
commit | 3d4004ab635f64952e1f6bf5d881ec0be7f37721 (patch) | |
tree | d1824e78165efcc9a4a017504f88cc456c17aefb /actionview | |
parent | 3873fc5c1c5836d41b288840773ecd1704953f29 (diff) | |
download | rails-3d4004ab635f64952e1f6bf5d881ec0be7f37721.tar.gz rails-3d4004ab635f64952e1f6bf5d881ec0be7f37721.tar.bz2 rails-3d4004ab635f64952e1f6bf5d881ec0be7f37721.zip |
Remove deprecation warning.
https://travis-ci.org/rails/rails/jobs/63594316#L1982
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/test/actionpack/controller/render_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |