Sha256: e844f41a384a8dd796fc4bfaf29ff9c9ece6222814beb00205c464def6deb32a
Contents?: true
Size: 519 Bytes
Versions: 16
Compression:
Stored size: 519 Bytes
Contents
require 'spec_helper' describe BrDanfe::MdfeLib::Document do let(:base_dir) { './spec/fixtures/mdfe/lib/' } let(:output_pdf) { "#{base_dir}output.pdf" } describe '#method_missing' do context 'when prawn has the method' do it 'does not throws an error' do expect(subject).to respond_to :text end end context 'when prawn does not have the method' do it 'throws an error' do expect { subject.non_existent_method }.to raise_error NameError end end end end
Version data entries
16 entries across 16 versions & 1 rubygems