From 8c847a682109e8305ff1ac14cd493255884d8675 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Tue, 14 Mar 2023 20:19:13 -0600 Subject: AƱade specs faltantes de CompaniesController MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spec/factories/company.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/factories') 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 -- cgit v1.2.3