Sha256: db448b7aa4af9d6cfd66aecd14c88ddc48f6464819fb06e5a7d6d6e85819c105

Contents?: true

Size: 309 Bytes

Versions: 70

Compression:

Stored size: 309 Bytes

Contents

FactoryGirl.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

70 entries across 70 versions & 1 rubygems

Version Path
dorsale-3.1.5 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.1.4 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.1.3 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.1.2 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.1.1 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.1.0 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.0.3 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.0.2 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.0.1 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.0.0 spec/factories/billing_machine_invoice_lines.rb
dorsale-2.7.3 spec/factories/billing_machine_invoice_lines.rb
dorsale-2.7.2 spec/factories/billing_machine_invoice_lines.rb
dorsale-2.7.1 spec/factories/billing_machine_invoice_lines.rb
dorsale-2.7.0 spec/factories/billing_machine_invoice_lines.rb
dorsale-2.6.8 spec/factories/billing_machine_invoice_lines.rb
dorsale-2.6.7 spec/factories/billing_machine_invoice_lines.rb
dorsale-2.6.6 spec/factories/billing_machine_invoice_lines.rb
dorsale-2.6.5 spec/factories/billing_machine_invoice_lines.rb
dorsale-2.6.4 spec/factories/billing_machine_invoice_lines.rb
dorsale-2.6.3 spec/factories/billing_machine_invoice_lines.rb