Sha256: 033d5e0e29e93cdcaf4e4c6eeee82ab1a9ae4f8e1b788cc37d595b4f5e4049aa
Contents?: true
Size: 522 Bytes
Versions: 6
Compression:
Stored size: 522 Bytes
Contents
require 'spec_helper' describe ReverseAdoc::Converters::Video do let(:converter) { ReverseAdoc::Converters::Video.new } it 'converts audio with no attributes' do node = node_for("<audio src='example.mp3'/>") expect(converter.convert(node)).to include "video::example.mp3[]" end it 'converts audio with full set of attributes' do node = node_for("<audio id='A' src='example.mp3' loop='loop'/>") expect(converter.convert(node)).to include "[[A]]\nvideo::example.mp3[options=\"loop\"]" end end
Version data entries
6 entries across 6 versions & 1 rubygems