Sha256: 9c81b84de626a5560569f83310c666c8931bb5218fb173179a7b67ff97c0b55e

Contents?: true

Size: 248 Bytes

Versions: 55

Compression:

Stored size: 248 Bytes

Contents

FactoryBot.define do
  factory :additional_service, class: "Comee::Core::AdditionalService" do
    name { Faker::Lorem.sentence }
    quantity { 1 }
    unit { "pc" }
    price { 100 }
    total_price { quantity * price }
    sales_order
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
comee_core-0.3.62 spec/factories/comee/core/additional_services.rb
comee_core-0.3.61 spec/factories/comee/core/additional_services.rb
comee_core-0.3.60 spec/factories/comee/core/additional_services.rb
comee_core-0.3.59 spec/factories/comee/core/additional_services.rb
comee_core-0.3.58 spec/factories/comee/core/additional_services.rb
comee_core-0.3.57 spec/factories/comee/core/additional_services.rb
comee_core-0.3.56 spec/factories/comee/core/additional_services.rb
comee_core-0.3.55 spec/factories/comee/core/additional_services.rb
comee_core-0.3.54 spec/factories/comee/core/additional_services.rb
comee_core-0.3.53 spec/factories/comee/core/additional_services.rb
comee_core-0.3.51 spec/factories/comee/core/additional_services.rb
comee_core-0.3.50 spec/factories/comee/core/additional_services.rb
comee_core-0.3.49 spec/factories/comee/core/additional_services.rb
comee_core-0.3.48 spec/factories/comee/core/additional_services.rb
comee_core-0.3.47 spec/factories/comee/core/additional_services.rb
comee_core-0.3.46 spec/factories/comee/core/additional_services.rb
comee_core-0.3.45 spec/factories/comee/core/additional_services.rb
comee_core-0.3.44 spec/factories/comee/core/additional_services.rb
comee_core-0.3.43 spec/factories/comee/core/additional_services.rb
comee_core-0.3.42 spec/factories/comee/core/additional_services.rb