fixed rendering call in spec_helper
[swftools.git] / 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