Sha256: bfd5102a4ddd35cc2478580d2cdde72ec56ea507f12df82a5ae88b6dd5478197

Contents?: true

Size: 377 Bytes

Versions: 1

Compression:

Stored size: 377 Bytes

Contents

describe EDL::Parser do
  describe '#parse' do
    it 'reports error when frame exceeds fps' do
      Timecode.add_custom_framerate!(12.0)
      parser = EDL::Parser.new(12)
      parser.parse(File.read('spec/fixtures/files/45S_SAMPLE.EDL'))
      expect(parser.errors.first).to match(
        /There can be no more than 12\.0 frames \@12\.0, got 13/
      )
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
edl-0.1.7 spec/lib/edl/parser_spec.rb