Sha256: c0c2d9f7cb0a34239646780caf17debda395ebc8822e6569bfcba4c0b8a66cad
Contents?: true
Size: 768 Bytes
Versions: 7
Compression:
Stored size: 768 Bytes
Contents
require 'spec_helper' describe 'MXFInfo' do describe 'scan' do context 'given an invalid MXF file' do it 'should raise an error' do expect { MXFInfo.scan File.expand_path('../fixtures/InvalidFileTest.mxf', __FILE__) }.to raise_error(/Failed to read header partition/) end end context 'given an invalid MXF file' do it 'should raise not an error' do expect { MXFInfo.scan File.expand_path('../fixtures/IMG_0395.MOV.A14DC7130D.mxf', __FILE__) }.to_not raise_error end it 'should return an InfoObject instance' do expect(MXFInfo.scan File.expand_path('../fixtures/IMG_0395.MOV.A14DC7130D.mxf', __FILE__)).to be_a(MXFInfo::InfoObject) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems