diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | test/test_securerandom.rb | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Sun Feb 16 15:53:36 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com> + + * test/test_securerandom.rb: File.exists? is deprecated. use File.exist? + Sun Feb 16 15:05:00 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com> * test/pathname/test_pathname.rb: File.exists? is deprecated. use File.exist? diff --git a/test/test_securerandom.rb b/test/test_securerandom.rb index f3c9a1af92..0a78624ab9 100644 --- a/test/test_securerandom.rb +++ b/test/test_securerandom.rb @@ -176,7 +176,7 @@ end $LOADED_FEATURES.delete_if { |path| if File.basename(path) == basename $LOAD_PATH.any? { |dir| - File.exists?(File.join(dir, basename)) + File.exist?(File.join(dir, basename)) } end } |