Sha256: 68477fb80487f340cc4531342943aafba8e7b620b236989926da589ebe11b5b2
Contents?: true
Size: 473 Bytes
Versions: 3
Compression:
Stored size: 473 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 proc = Proc.new { pdf.icon 'fa-an invalid key' } expect(proc).to raise_error(described_class) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
prawn-icon-1.4.0 | spec/unit/errors/icon_not_found_spec.rb |
prawn-icon-1.3.0 | spec/unit/errors/icon_not_found_spec.rb |
prawn-icon-1.2.0 | spec/unit/errors/icon_not_found_spec.rb |