fix tests
This commit is contained in:
parent
3ed8e0bc84
commit
3a7d650ed8
2 changed files with 1 additions and 5 deletions
|
|
@ -3,7 +3,7 @@ require 'factory_girl'
|
|||
FactoryGirl.define do
|
||||
|
||||
factory :supplier do
|
||||
name { Faker::Company.name }
|
||||
name { Faker::Company.name.truncate(30) }
|
||||
phone { Faker::PhoneNumber.phone_number }
|
||||
address { Faker::Address.street_address }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue