Sha256: 2d53c51d7fb343f3eec24e37c90f5aeb9cc606ca9c3afd036469083c92f07b63
Contents?: true
Size: 680 Bytes
Versions: 1
Compression:
Stored size: 680 Bytes
Contents
require 'spec_helper.rb' module FFMPEG describe Transcoder do describe "initializing" do it "should require an output_file option" do lambda { Transcoder.new(nil, {}) }.should raise_error(ArgumentError, /output_file/) end end describe "transcoding" do it "should transcode the movie" do FileUtils.rm_f "#{tmp_path}/awesome.flv" movie = Movie.new("#{fixture_path}/movies/awesome.mov") transcoder = Transcoder.new(movie, :output_file => "tmp/awesome.flv") transcoder.run transcoder.encoded.should be_valid File.exists?("#{tmp_path}/awesome.flv").should be_true end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
streamio-ffmpeg-0.3.0 | spec/ffmpeg/transcoder_spec.rb |