From 8779841d9f5b43ad4223d533e948d44d96680806 Mon Sep 17 00:00:00 2001 From: Lars Christensen Date: Tue, 13 Jan 2015 21:33:40 +0100 Subject: [PATCH] Fix use of deprecated method --- test/test_ocra.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_ocra.rb b/test/test_ocra.rb index 5ef67781..f01c4a49 100644 --- a/test/test_ocra.rb +++ b/test/test_ocra.rb @@ -217,8 +217,8 @@ def test_debug_extract def test_output_option with_fixture 'helloworld' do assert system("ruby", ocra, "helloworld.rb", *(DefaultArgs + ["--output", "goodbyeworld.exe"])) - assert !File.exists?("helloworld.exe") - assert File.exists?("goodbyeworld.exe") + assert !File.exist?("helloworld.exe") + assert File.exist?("goodbyeworld.exe") end end