Localize and configure payment contribution link

Agent-Logs-Url: https://github.com/we-promise/sure/sessions/b2581b3a-0e39-4226-bbaa-6fd6dd69e8a6

Co-authored-by: jjmata <187772+jjmata@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-04 12:20:40 +00:00
committed by GitHub
parent 6727dbc531
commit 118fd47ca5
4 changed files with 23 additions and 7 deletions

View File

@@ -18,6 +18,10 @@ class Settings::PaymentsControllerTest < ActionDispatch::IntegrationTest
get settings_payment_path
assert_response :success
assert_select "a[href=?]", "https://buy.stripe.com/3cIcN6euM23D7GQ3wT97G00", text: "one-time contribution here"
assert_select(
"a[href=?]",
Rails.application.config.x.stripe.one_time_contribution_url,
text: I18n.t("views.settings.payments.show.one_time_contribution_link_text")
)
end
end