spec/integration/icon_spec.rb in prawn-icon-3.0.0 vs spec/integration/icon_spec.rb in prawn-icon-3.1.0

- old
+ new

@@ -259,6 +259,15 @@ text = PDF::Inspector::Text.analyze(pdf.render) expect(text.strings.first).to eq('') end end + + context 'Material Design Icons' do + it 'renders Material Design Icon glyphs' do + pdf.icon 'mdi-beer' + text = PDF::Inspector::Text.analyze(pdf.render) + + expect(text.strings.first).to eq('') + end + end end