Sha256: c59463c48ff810cde9adb9e2ced3ca7970422ca66d47482c7cea0676d2336943

Contents?: true

Size: 267 Bytes

Versions: 15

Compression:

Stored size: 267 Bytes

Contents

require "rails_helper"

describe Dorsale::ExpenseGun::ExpensePdf do
  it "should work" do
    expense = create(:expense_gun_expense_line).expense

    expect {
      described_class.new(expense).tap(&:build).render_with_attachments
    }.to_not raise_error
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
dorsale-4.0.0 spec/pdfs/dorsale/expense_gun/expense_pdf_spec.rb
dorsale-3.20.0 spec/pdfs/dorsale/expense_gun/expense_pdf_spec.rb
dorsale-3.19.1 spec/pdfs/dorsale/expense_gun/expense_pdf_spec.rb
dorsale-3.19.0 spec/pdfs/dorsale/expense_gun/expense_pdf_spec.rb
dorsale-3.18.0 spec/pdfs/dorsale/expense_gun/expense_pdf_spec.rb
dorsale-3.17.0 spec/pdfs/dorsale/expense_gun/expense_pdf_spec.rb
dorsale-3.16.0 spec/pdfs/dorsale/expense_gun/expense_pdf_spec.rb
dorsale-3.15.0 spec/pdfs/dorsale/expense_gun/expense_pdf_spec.rb
dorsale-3.14.11 spec/pdfs/dorsale/expense_gun/expense_pdf_spec.rb
dorsale-3.14.10 spec/pdfs/dorsale/expense_gun/expense_pdf_spec.rb
dorsale-3.14.9 spec/pdfs/dorsale/expense_gun/expense_pdf_spec.rb
dorsale-3.14.8 spec/pdfs/dorsale/expense_gun/expense_pdf_spec.rb
dorsale-3.14.7 spec/pdfs/dorsale/expense_gun/expense_pdf_spec.rb
dorsale-3.14.6 spec/pdfs/dorsale/expense_gun/expense_pdf_spec.rb
dorsale-3.14.5 spec/pdfs/dorsale/expense_gun/expense_pdf_spec.rb