require 'spec_helper'
describe ReverseAsciidoctor::Converters::Video do
let(:converter) { ReverseAsciidoctor::Converters::Video.new }
it 'converts audio with no attributes' do
node = node_for("")
expect(converter.convert(node)).to include "video::example.mp3[]"
end
it 'converts audio with full set of attributes' do
node = node_for("")
expect(converter.convert(node)).to include "[[A]]\nvideo::example.mp3[options=\"loop\"]"
end
end