aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--test/pathname/test_pathname.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bb045bb82b..13f693bd7d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+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?
+
Sun Feb 16 15:00:28 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* test/net/ftp/test_ftp.rb: remove unused variables.
diff --git a/test/pathname/test_pathname.rb b/test/pathname/test_pathname.rb
index ec9dfa1d59..8008e8c0af 100644
--- a/test/pathname/test_pathname.rb
+++ b/test/pathname/test_pathname.rb
@@ -1222,7 +1222,7 @@ class TestPathname < Test::Unit::TestCase
Pathname("d").mkdir
assert(File.directory?("d"))
Pathname("d").rmdir
- assert(!File.exists?("d"))
+ assert(!File.exist?("d"))
}
end