Sha256: c6309af9419625745e45e6ca9cd16a7f5d7bf29f46edc438fdd46342c444ed8c

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 Bytes

Contents

# encoding: utf-8
require 'spec_helper'

describe Ffprober do

  describe "if no ffprobe is found" do
    it "should raise a exception" do
      Ffprober.stub(:path).and_return("nonexistant")
      lambda { @ffprobe = Ffprober::Parser.from_file('spec/assets/301-extracting_a_ruby_gem.m4v') }.should raise_error
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ffprober-0.3.0 spec/ffprober_spec.rb