Sha256: 3d8bd292043f5e77265237523c547b809ecabfcc95780d184c68452cd5be839f

Contents?: true

Size: 195 Bytes

Versions: 17

Compression:

Stored size: 195 Bytes

Contents

FactoryBot.define do
  factory :additional_item, class: "Comee::Core::AdditionalItem" do
    invoice
    quantity { 1 }
    unit_price { 1.5 }
    total_price { quantity * unit_price }
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
comee_core-0.2.21 spec/factories/comee/core/additional_items.rb
comee_core-0.2.20 spec/factories/comee/core/additional_items.rb
comee_core-0.2.19 spec/factories/comee/core/additional_items.rb
comee_core-0.2.18 spec/factories/comee/core/additional_items.rb
comee_core-0.2.17 spec/factories/comee/core/additional_items.rb
comee_core-0.2.16 spec/factories/comee/core/additional_items.rb
comee_core-0.2.15 spec/factories/comee/core/additional_items.rb
comee_core-0.2.14 spec/factories/comee/core/additional_items.rb
comee_core-0.2.13 spec/factories/comee/core/additional_items.rb
comee_core-0.2.12 spec/factories/comee/core/additional_items.rb
comee_core-0.2.11 spec/factories/comee/core/additional_items.rb
comee_core-0.2.10 spec/factories/comee/core/additional_items.rb
comee_core-0.2.9 spec/factories/comee/core/additional_items.rb
comee_core-0.2.8 spec/factories/comee/core/additional_items.rb
comee_core-0.2.7 spec/factories/comee/core/additional_items.rb
comee_core-0.2.6 spec/factories/comee/core/additional_items.rb
comee_core-0.2.5 spec/factories/comee/core/additional_items.rb