Skip to content

Commit

Permalink
Merge branch 'feature/generate_cfe_pdf' of github.com:pdvend/br_invoi…
Browse files Browse the repository at this point in the history
…ces_pdf into feature/generate_cfe_pdf
  • Loading branch information
romarioclacino committed Aug 16, 2017
2 parents a4fb5ce + 8fb8d23 commit 2e2db84
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions spec/lib/br_invoices_pdf/cfe/renderer/qr_code_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
describe BrInvoicesPdf::Cfe::Renderer::QrCode do
describe '.execute' do
subject { described_class.execute(pdf, data) }
let(:pdf) { double('pdf', cursor: cursor, page_size: page_size) }
let(:cursor) { 10 }
let(:page_size) { 640 }

let(:data) { {} }

context '.execute' do
it 'return qrcode' do
subject
end
end
end
end

0 comments on commit 2e2db84

Please sign in to comment.