mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
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:
committed by
GitHub
parent
6727dbc531
commit
118fd47ca5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user