mirror of
https://github.com/we-promise/sure.git
synced 2026-04-17 02:54:10 +00:00
Fix payment settings test locale keys
Agent-Logs-Url: https://github.com/we-promise/sure/sessions/f0a45269-37a7-42c5-a2a2-8da6bccdd501 Co-authored-by: jjmata <187772+jjmata@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
6e5ae842d6
commit
2ab71ef5a4
@@ -25,7 +25,7 @@ class Settings::PaymentsControllerTest < ActionDispatch::IntegrationTest
|
||||
assert_select(
|
||||
"a[href=?]",
|
||||
"https://buy.stripe.com/test_payment_link",
|
||||
text: I18n.t("views.settings.payments.show.one_time_contribution_link_text")
|
||||
text: I18n.t("settings.payments.show.one_time_contribution_link_text")
|
||||
)
|
||||
end
|
||||
|
||||
@@ -40,10 +40,9 @@ class Settings::PaymentsControllerTest < ActionDispatch::IntegrationTest
|
||||
assert_response :success
|
||||
assert_select(
|
||||
"a",
|
||||
text: I18n.t("views.settings.payments.show.one_time_contribution_link_text"),
|
||||
text: I18n.t("settings.payments.show.one_time_contribution_link_text"),
|
||||
count: 0
|
||||
)
|
||||
assert_select "p", text: I18n.t("views.settings.payments.show.payment_via_stripe")
|
||||
assert_select "p", text: I18n.t("settings.payments.show.payment_via_stripe")
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user