summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-03-30 18:00:37 -0600
committerHombreLaser <sebastian-440@live.com>2023-03-30 18:00:37 -0600
commit564203bace85c06d0de16ad5d6c2ac540642d84e (patch)
tree2fa202a85147316df065957a29126c08dc140940 /spec/factories
parent2ae0cd8a8dc6d630ee1a7a84ddf6111609dbdeb7 (diff)
Añade specs de CardsController
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/card.rb2
1 files changed, 1 insertions, 1 deletions
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) }