spec/dragonfly-ffmpeg/analyser_spec.rb in dragonfly-ffmpeg-0.0.4 vs spec/dragonfly-ffmpeg/analyser_spec.rb in dragonfly-ffmpeg-0.1.0
- old
+ new
@@ -25,9 +25,13 @@
@video = Dragonfly::TempObject.new(File.new(video_path))
@analyser = EnMasse::Dragonfly::FFMPEG::Analyser.new
@analyser.log = Logger.new(LOG_FILE)
end
+ it "should return the extension of the file" do
+ @analyser.ext(@video).should == '.mov'
+ end
+
it "should return the width" do
@analyser.v_width(@video).should == 1280
end
it "should return the height" do