Sha256: 1c1625bd36e7a8a48f8baea316da56363ec8014a4c505b6e25751918895fa3df
Contents?: true
Size: 455 Bytes
Versions: 8
Compression:
Stored size: 455 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::IconKeyEmpty do let(:pdf) { create_pdf } it 'is a StandardError' do expect(subject).to be_a(StandardError) end it 'is thrown on a missing icon key' do proc = Proc.new { pdf.icon '' } expect(proc).to raise_error(described_class) end end
Version data entries
8 entries across 8 versions & 1 rubygems