summaryrefslogtreecommitdiff
path: root/spec/factories/card.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/card.rb')
-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) }