Sha256: dba37e14ce0b7e27f5ff0e380f9dbfdef4373883b7aabf77e2a48ae2ea601ac9
Contents?: true
Size: 645 Bytes
Versions: 4
Compression:
Stored size: 645 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Ffprober do describe "if no ffprobe is found" do it "should raise a exception if there is no ffmpeg" do Ffprober.stub(:path).and_return("nonexistant") expect { @ffprobe = Ffprober::Parser.from_file('spec/assets/301-extracting_a_ruby_gem.m4v') }.to raise_error end it "should raise a exception if there is no valid ffmpeg" do Ffprober::FfprobeVersion.stub(:valid?).and_return(false) expect { @ffprobe = Ffprober::Parser.from_file('spec/assets/301-extracting_a_ruby_gem.m4v') }.to raise_error(ArgumentError) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ffprober-0.3.6 | spec/ffprober_spec.rb |
ffprober-0.3.5 | spec/ffprober_spec.rb |
ffprober-0.3.4 | spec/ffprober_spec.rb |
ffprober-0.3.3 | spec/ffprober_spec.rb |