From 564203bace85c06d0de16ad5d6c2ac540642d84e Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Thu, 30 Mar 2023 18:00:37 -0600 Subject: AƱade specs de CardsController MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spec/factories/card.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/factories/card.rb') diff --git a/spec/factories/card.rb b/spec/factories/card.rb index ddcafaf..c27aba0 100644 --- a/spec/factories/card.rb +++ b/spec/factories/card.rb @@ -2,7 +2,7 @@ FactoryBot.define do factory :card, class: 'Card' do - number { "#{rand(1000..9999)}-#{rand(1000..9999)}-#{rand(1000..9999)}-#{rand(1000..9999)}" } + number { "#{rand(1000..9999)}#{rand(1000..9999)}#{rand(1000..9999)}#{rand(1000..9999)}" } expiration_day { rand(1..31) } expiration_month { rand(1..12) } expiration_year { rand(1971..2025) } -- cgit v1.2.3