foodsoft/spec/support/faker.rb

11 lines
151 B
Ruby
Raw Normal View History

2020-07-27 17:39:56 +02:00
module Faker
class Unit
class << self
def unit
['kg', '1L', '100ml', 'piece', 'bunch', '500g'].sample
end
end
end
end