Fix duplicate factory value spec error

This commit is contained in:
Rohan Mitchell
2015-06-10 15:31:53 +10:00
parent 80834a0c27
commit ee01113fe1

View File

@@ -212,7 +212,7 @@ FactoryGirl.define do
factory :customer, :class => Customer do
email { Faker::Internet.email }
enterprise
code { Faker::Lorem.word }
code { SecureRandom.base64(150) }
user
end
end