Sha256: 05ab9a143a980fc8227c839dc1ae9a2da39056060f3aef442d3d4976fd6b6310

Contents?: true

Size: 201 Bytes

Versions: 9

Compression:

Stored size: 201 Bytes

Contents

FactoryGirl.define do
  factory :unit, class: 'Logistics::Core::Unit' do
    name { FFaker::Name.name }
    abbreviation { FFaker::Name.name }
    association :unit_type
    rate_to_base 1.5
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
logistics_core-21.11.2 spec/factories/units.rb
logistics_core-21.11.1 spec/factories/units.rb
logistics_core-21.08.1 spec/factories/units.rb
logistics_core-21.03.1 spec/factories/units.rb
logistics_core-20.10.3 spec/factories/units.rb
logistics_core-20.10.2 spec/factories/units.rb
logistics_core-20.10.1 spec/factories/units.rb
logistics_core-20.9.1 spec/factories/units.rb
logistics_core-20.8.1 spec/factories/units.rb