mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-31 21:37:16 +00:00
fix /spec/models/spree/credit_card_spec.rb:301
This commit is contained in:
@@ -147,7 +147,7 @@ module Spree
|
||||
end
|
||||
|
||||
def default_card_needs_updating?
|
||||
saved_change_to_is_default? || gateway_customer_profile_id_changed?
|
||||
saved_change_to_is_default? || saved_change_to_gateway_customer_profile_id?
|
||||
end
|
||||
|
||||
def ensure_single_default_card
|
||||
|
||||
Reference in New Issue
Block a user