spec/quicktime/movie_spec.rb in rmov-0.1.3 vs spec/quicktime/movie_spec.rb in rmov-0.1.4
- old
+ new
@@ -118,10 +118,16 @@
end
it "export_pict should output a pict file at a given duration" do
path = File.dirname(__FILE__) + '/../output/example.pct'
File.delete(path) rescue nil
- @movie.export_pict(path, 1.2)
+ @movie.export_image(path, 1.2)
+ end
+
+ it "export_png should output a png file at a given duration" do
+ path = File.dirname(__FILE__) + '/../output/example.png'
+ File.delete(path) rescue nil
+ @movie.export_image(path, 1.2)
end
it "should default poster time to 0" do
@movie.poster_time.should == 0
end