mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Remove errornous quotes from alert text
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user