Sha256: d71cc910f4ed0a2d32895aa37d4b1c5c88c80570b21a5b808bc5f82cd427cd75

Contents?: true

Size: 341 Bytes

Versions: 17

Compression:

Stored size: 341 Bytes

Contents

FactoryGirl.define do
  factory :billing_machine_quotation_line, class: ::Dorsale::BillingMachine::QuotationLine do
    quotation  { create(:billing_machine_quotation) }

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

Version data entries

17 entries across 17 versions & 1 rubygems

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