Commit f016b226 authored by Jacki Bauer's avatar Jacki Bauer Committed by Illya Klymov

Update UI Text in Trial Confirmation Banner

parent 989d53d3
...@@ -7,4 +7,4 @@ ...@@ -7,4 +7,4 @@
= custom_icon('trial_activated_banner') = custom_icon('trial_activated_banner')
.user-callout-copy .user-callout-copy
%h4 %h4
= s_("BillingPlans|Congratulations, your new trial is activated") = s_("BillingPlans|Congratulations, your free trial is activated.")
...@@ -31,7 +31,7 @@ RSpec.describe 'Show trial banner', :js do ...@@ -31,7 +31,7 @@ RSpec.describe 'Show trial banner', :js do
it 'renders congratulations banner for user in profile billing page' do it 'renders congratulations banner for user in profile billing page' do
visit profile_billings_path + '?trial=true' visit profile_billings_path + '?trial=true'
expect(page).to have_content('Congratulations, your new trial is activated') expect(page).to have_content('Congratulations, your free trial is activated.')
end end
end end
...@@ -39,13 +39,13 @@ RSpec.describe 'Show trial banner', :js do ...@@ -39,13 +39,13 @@ RSpec.describe 'Show trial banner', :js do
it 'renders congratulations banner for group in group details page' do it 'renders congratulations banner for group in group details page' do
visit group_path(group, trial: true) visit group_path(group, trial: true)
expect(find('.user-callout').text).to have_content('Congratulations, your new trial is activated') expect(find('.user-callout').text).to have_content('Congratulations, your free trial is activated.')
end end
it 'does not render congratulations banner for group in group billing page' do it 'does not render congratulations banner for group in group billing page' do
visit group_billings_path(group, trial: true) visit group_billings_path(group, trial: true)
expect(page).not_to have_content('Congratulations, your new trial is activated') expect(page).not_to have_content('Congratulations, your free trial is activated.')
end end
end end
end end
...@@ -3964,7 +3964,7 @@ msgstr "" ...@@ -3964,7 +3964,7 @@ msgstr ""
msgid "BillingPlans|@%{user_name} you are currently using the %{plan_name} plan." msgid "BillingPlans|@%{user_name} you are currently using the %{plan_name} plan."
msgstr "" msgstr ""
msgid "BillingPlans|Congratulations, your new trial is activated" msgid "BillingPlans|Congratulations, your free trial is activated."
msgstr "" msgstr ""
msgid "BillingPlans|If you would like to downgrade your plan please contact %{support_link_start}Customer Support%{support_link_end}." msgid "BillingPlans|If you would like to downgrade your plan please contact %{support_link_start}Customer Support%{support_link_end}."
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment