Improve testing on docker
This commit is contained in:
parent
b96ce06d94
commit
ef1903381b
6 changed files with 16 additions and 13 deletions
10
spec/support/faker.rb
Normal file
10
spec/support/faker.rb
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
module Faker
|
||||
class Unit
|
||||
class << self
|
||||
def unit
|
||||
['kg', '1L', '100ml', 'piece', 'bunch', '500g'].sample
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue