Fix date-dependent spec

This commit is contained in:
Maikel Linke
2024-10-01 13:14:09 +10:00
parent 196956140e
commit 0474c591de

View File

@@ -26,7 +26,7 @@ RSpec.describe Spree::CreditCardsController, type: :controller do
{
format: :json,
exp_month: 9,
exp_year: 2024,
exp_year: 1.year.from_now.year,
last4: 4242,
token: token['id'],
cc_type: "visa"