diff --git a/exe/convert_to_should_syntax b/exe/convert_to_should_syntax index d1264d07..ebdda984 100755 --- a/exe/convert_to_should_syntax +++ b/exe/convert_to_should_syntax @@ -31,7 +31,7 @@ usage("Temp directory '#{TMP}' is not valid. Set TMPDIR environment variable to file = ARGV.shift tmpfile = File.join(TMP, File.basename(file)) -usage("File '#{file}' doesn't exist") unless File.exists?(file) +usage("File '#{file}' doesn't exist") unless File.exist?(file) FileUtils.cp(file, tmpfile) contents = File.read(tmpfile)