summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/company.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/company.rb b/spec/factories/company.rb
index e4ae7d6..df805ca 100644
--- a/spec/factories/company.rb
+++ b/spec/factories/company.rb
@@ -3,7 +3,7 @@
FactoryBot.define do
factory :company, class: 'Company' do
name { Faker::Company.name }
- short_name { Faker::Lorem.word }
+ short_name { SecureRandom.hex(6) }
country { ISO3166::Country.codes.sample }
end
end