Sha256: 05a42e988f81cc33f0dc7bd054f04782b7ba9bff3fd1db196ce03b1220fcd0ce

Contents?: true

Size: 410 Bytes

Versions: 17

Compression:

Stored size: 410 Bytes

Contents

FactoryGirl.define do
  factory :billing_machine_invoice, class: ::Dorsale::BillingMachine::Invoice do
    customer     { create(:customer_vault_corporation) }
    payment_term { create(:billing_machine_payment_term) }
    id_card      { create(:billing_machine_id_card) }

    date         { "2014-02-19" }
    label        { "Software service" }
    advance      { 1.00 }
    vat_rate     { 20.0 }
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
dorsale-2.1.15 spec/factories/billing_machine_invoices.rb
dorsale-2.1.14 spec/factories/billing_machine_invoices.rb
dorsale-2.1.13 spec/factories/billing_machine_invoices.rb
dorsale-2.1.12 spec/factories/billing_machine_invoices.rb
dorsale-2.1.11 spec/factories/billing_machine_invoices.rb
dorsale-2.1.10 spec/factories/billing_machine_invoices.rb
dorsale-2.1.9 spec/factories/billing_machine_invoices.rb
dorsale-2.1.8 spec/factories/billing_machine_invoices.rb
dorsale-2.1.7 spec/factories/billing_machine_invoices.rb
dorsale-2.1.6 spec/factories/billing_machine_invoices.rb
dorsale-2.1.5 spec/factories/billing_machine_invoices.rb
dorsale-2.1.4 spec/factories/billing_machine_invoices.rb
dorsale-2.1.3 spec/factories/billing_machine_invoices.rb
dorsale-2.1.2 spec/factories/billing_machine_invoices.rb
dorsale-2.1.1 spec/factories/billing_machine_invoices.rb
dorsale-2.1.0 spec/factories/billing_machine_invoices.rb
dorsale-2.0.1 spec/factories/billing_machine_invoices.rb