Sha256: 174f389221f7f6e1deb35d1b647b62d31dfbb6d6eb2001372099049500d9492f

Contents?: true

Size: 166 Bytes

Versions: 24

Compression:

Stored size: 166 Bytes

Contents

FactoryBot.define do
  factory :cost_type, class: Ecom::Core::CostType do
    name { FFaker::Name.name }
    fields { [{ name: 'amount', type: 'float' }] }
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
ecom_core-1.2.31 spec/factories/ecom/core/cost_types.rb
ecom_core-1.2.30 spec/factories/ecom/core/cost_types.rb
ecom_core-1.2.29 spec/factories/ecom/core/cost_types.rb
ecom_core-1.2.28 spec/factories/ecom/core/cost_types.rb