Sha256: c7d7fd61948e5e201c8233efb641896dda78963f08c56179fbfaea044fed49d1
Contents?: true
Size: 448 Bytes
Versions: 4
Compression:
Stored size: 448 Bytes
Contents
# encoding: utf-8 # # Copyright September 2016, Jesse Doyle. All rights reserved. # # This is free software. Please see the LICENSE and COPYING files for details. describe Prawn::Icon::Errors::IconNotFound do let(:pdf) { create_pdf } it 'is a StandardError' do expect(subject).to be_a(StandardError) end it 'is thrown on an invalid icon key' do expect { pdf.icon('far-an invalid key') }.to raise_error(described_class) end end
Version data entries
4 entries across 4 versions & 1 rubygems