test/test_epubmaker_cmd.rb in review-2.1.0 vs test/test_epubmaker_cmd.rb in review-2.2.0

- old
+ new

@@ -25,10 +25,10 @@ def test_epubmaker_cmd if /mswin|mingw|cygwin/ !~ RUBY_PLATFORM config = prepare_samplebook(@tmpdir1) builddir = @tmpdir1 + "/" + config['bookname'] + '-epub' - assert ! File.exist?(builddir) + assert !File.exist?(builddir) ruby_cmd = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name']) + RbConfig::CONFIG["EXEEXT"] Dir.chdir(@tmpdir1) do system("#{ruby_cmd} -S #{REVIEW_EPUBMAKER} config.yml 1>/dev/null 2>/dev/null") end