summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-03-14 20:19:13 -0600
committerHombreLaser <sebastian-440@live.com>2023-03-14 20:19:13 -0600
commit8c847a682109e8305ff1ac14cd493255884d8675 (patch)
treeaeb269def99e61e69223d84c532187de0a20cef5 /spec/factories
parent5a367387cfec9c2a152c6aeba765ee5ba42e03af (diff)
Añade specs faltantes de CompaniesController
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