From 35ed7e852d4827747e718fbd03325dd4fef4b348 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Mon, 11 Oct 2021 16:43:14 +1100 Subject: [PATCH] Remove errornous quotes from alert text --- config/locales/en.yml | 2 +- spec/system/consumer/account/cards_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index 562227021a..76398dceef 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2711,7 +2711,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using resolve_errors: Please resolve the following errors more_items: "+ %{count} More" default_card_updated: Default Card Updated - default_card_voids_auth: Changing your default card will remove shops' existing authorizations to charge it. You can re-authorize shops after updating the default card. Do you wish to change the default card?" + default_card_voids_auth: Changing your default card will remove shops' existing authorizations to charge it. You can re-authorize shops after updating the default card. Do you wish to change the default card? cart: add_to_cart_failed: > There was a problem adding this product to the cart. diff --git a/spec/system/consumer/account/cards_spec.rb b/spec/system/consumer/account/cards_spec.rb index a736668f49..91ce8427c8 100644 --- a/spec/system/consumer/account/cards_spec.rb +++ b/spec/system/consumer/account/cards_spec.rb @@ -65,7 +65,7 @@ describe "Credit Cards", js: true do alert_text = <<~TEXT.strip Changing your default card will remove shops' existing authorizations \ to charge it. You can re-authorize shops after updating the default \ - card. Do you wish to change the default card?" + card. Do you wish to change the default card? TEXT within(".card#card#{non_default_card.id}") do accept_alert(alert_text) do