diff --git a/spec/factories.rb b/spec/factories.rb index 5e1f985778..bdb99b3235 100644 --- a/spec/factories.rb +++ b/spec/factories.rb @@ -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