fix /spec/models/spree/credit_card_spec.rb:301

This commit is contained in:
Andy Brett
2021-04-09 15:30:46 -07:00
committed by Matt-Yorkley
parent aaf4710694
commit 705666ecd0

View File

@@ -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