add some rspec tests for supplier and article

This commit is contained in:
wvengen 2013-07-14 02:49:40 +02:00
parent 7fa8193010
commit 3c264f6225
8 changed files with 110 additions and 2 deletions

View file

@ -36,3 +36,13 @@ RSpec.configure do |config|
# --seed 1234
config.order = "random"
end
module Faker
class Unit
class << self
def unit
['kg', '1L', '100ml', 'piece', 'bunch', '500g'].sample
end
end
end
end