fixed rendering call in spec_helper
authorMatthias Kramm <kramm@quiss.org>
Mon, 25 Jan 2010 21:23:42 +0000 (13:23 -0800)
committerMatthias Kramm <kramm@quiss.org>
Mon, 25 Jan 2010 21:23:42 +0000 (13:23 -0800)
spec/spec_helper.rb

index 99f5987..86e098b 100644 (file)
@@ -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