Sha256: 0f9631a0fc4cd165703a1b4f2e3df42df1053089c3d297784f314018e0e946f9

Contents?: true

Size: 307 Bytes

Versions: 24

Compression:

Stored size: 307 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

24 entries across 24 versions & 1 rubygems

Version Path
dorsale-4.0.0 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.20.0 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.19.1 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.19.0 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.18.0 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.17.0 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.16.0 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.15.0 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.14.11 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.14.10 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.14.9 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.14.8 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.14.7 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.14.6 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.14.5 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.14.3 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.14.2 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.14.1 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.14.0 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.13.0 spec/factories/billing_machine_invoice_lines.rb