Sha256: a39808a8f20766035b759786e20bac74a0510534ffdd6f643b6480a063b50eb6

Contents?: true

Size: 214 Bytes

Versions: 22

Compression:

Stored size: 214 Bytes

Contents

FactoryBot.define do
  factory :unit, class: "Comee::Core::Unit" do
    code { Faker::Alphanumeric.alpha(number: 2) }
    name { Faker::Name.name }
    unit_type { Comee::Core::Unit.unit_types[:weight] }
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
comee_core-0.1.11 spec/factories/comee/core/units.rb
comee_core-0.1.10 spec/factories/comee/core/units.rb