Sha256: 7fd4882724314335036192dacc130a147afa53be6c27e87142e88ac128b49f56

Contents?: true

Size: 308 Bytes

Versions: 11

Compression:

Stored size: 308 Bytes

Contents

FactoryBot.define do
  factory :billing_machine_invoice_line, class: ::Dorsale::BillingMachine::InvoiceLine do
    invoice    { create(:billing_machine_invoice) }

    label      { "Invoice line" + Faker::Lorem.words.join(" ") }
    quantity   { 10 }
    unit       { "€" }
    unit_price { 20 }
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
dorsale-3.10.1 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.10.0 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.9.8 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.9.7 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.9.6 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.9.5 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.9.4 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.9.3 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.9.2 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.9.1 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.9.0 spec/factories/billing_machine_invoice_lines.rb