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.8.1 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.8.0 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.7.8 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.7.7 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.7.6 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.7.5 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.7.4 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.7.2 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.7.1 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.7.0 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.6.1 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.6.0 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.5.2 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.5.1 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.5.0 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.4.0 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.3.0 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.2.0 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.1.7 spec/factories/billing_machine_invoice_lines.rb
dorsale-3.1.6 spec/factories/billing_machine_invoice_lines.rb