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.31 spec/factories/comee/core/units.rb
comee_core-0.1.30 spec/factories/comee/core/units.rb
comee_core-0.1.29 spec/factories/comee/core/units.rb
comee_core-0.1.28 spec/factories/comee/core/units.rb
comee_core-0.1.27 spec/factories/comee/core/units.rb
comee_core-0.1.26 spec/factories/comee/core/units.rb
comee_core-0.1.25 spec/factories/comee/core/units.rb
comee_core-0.1.24 spec/factories/comee/core/units.rb
comee_core-0.1.23 spec/factories/comee/core/units.rb
comee_core-0.1.22 spec/factories/comee/core/units.rb
comee_core-0.1.21 spec/factories/comee/core/units.rb
comee_core-0.1.20 spec/factories/comee/core/units.rb
comee_core-0.1.19 spec/factories/comee/core/units.rb
comee_core-0.1.18 spec/factories/comee/core/units.rb
comee_core-0.1.17 spec/factories/comee/core/units.rb
comee_core-0.1.16 spec/factories/comee/core/units.rb
comee_core-0.1.15 spec/factories/comee/core/units.rb
comee_core-0.1.14 spec/factories/comee/core/units.rb
comee_core-0.1.13 spec/factories/comee/core/units.rb
comee_core-0.1.12 spec/factories/comee/core/units.rb