File.exists? is deprecated.

This commit is contained in:
Hiroshi SHIBATA 2019-07-30 21:38:00 +08:00
parent 3e4e8dbe20
commit 4afd897524
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -6,7 +6,7 @@ require "open3"
class TestRakePackage < Minitest::Test
def test_builds_ok
skip unless File.exists?(File.expand_path("../../../Rakefile", __FILE__))
skip unless File.exist?(File.expand_path("../../../Rakefile", __FILE__))
output, status = Open3.capture2e("rake package")