diff --git a/spec/html5_extended_converter.rb b/spec/html5_extended_converter.rb index 34aadea..6fe8b8b 100644 --- a/spec/html5_extended_converter.rb +++ b/spec/html5_extended_converter.rb @@ -219,6 +219,21 @@ describe Asciidoctor::Foodogsquared::Converters::HTML5Modified do (expect actual).to eq expected.chomp end + it 'should have a video block with a bunch of attributes' do + input = <<~INPUT + video::hello.mp4[opts="autoplay,loop", preload="metadata"] + INPUT + + expected = <<~HTML +
+ +
+ HTML + + actual = (Asciidoctor.convert input).chomp + (expect actual).to eq expected.chomp + end + it 'should have a video block with multiple and a caption' do input = <<~INPUT .Making up stuff right now