Sha256: 870d417c5cc8ed7de7fcc8806270b13ac0b6d98543069931b7aac8baa124396c
Contents?: true
Size: 557 Bytes
Versions: 1
Compression:
Stored size: 557 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', 'spec_helper') class InvalidPrinter < Clamsy::BasePrinter ; end describe 'Invalid printer' do describe '> converting docs to pdf' do behaves_like 'has standard files support' it 'should raise Clamsy::ImplementationNotFoundError' do tmp_doc = tmp_file('doc') lambda { InvalidPrinter.docs_to_pdf([tmp_doc], "#{__FILE__}.pdf") }. should.raise(Clamsy::ImplementationNotFoundError). message.should.equal("InvalidPrinter.doc_to_pdf not implemented.") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
clamsy-0.0.4 | spec/clamsy/invalid_printer_spec.rb |