From 1dc9ac7ab2f7b095eeec95c913c4244b6fd3acd9 Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Mon, 25 Jan 2010 13:23:42 -0800 Subject: [PATCH] fixed rendering call in spec_helper --- spec/spec_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 99f5987..86e098b 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -125,7 +125,7 @@ class DocFile convert() @pngname = @filename.gsub(/.pdf$/i,"")+".png" begin - output = `swfrender --legacy #{@swfname} -o #{@pngname} 2>&1` + output = `swfrender #{@swfname} -o #{@pngname} 2>&1` raise ConversionFailed.new(output,@pngname) unless File.exists?(@pngname) @img = Magick::Image.read(@pngname).first ensure -- 1.7.10.4