|
|
|
@ -34,13 +34,13 @@ RSpec.describe Form::Sales::Pages::MonthlyChargesValueCheck, type: :model do
|
|
|
|
|
|
|
|
|
|
it "has correct title_text" do |
|
|
|
|
expect(page.title_text).to eq({ |
|
|
|
|
"translation" => "soft_validations.monthly_charges_over_soft_max.title_text", |
|
|
|
|
"translation" => "forms.2024.sales.soft_validations.monthly_charges_over_soft_max.title_text", |
|
|
|
|
"arguments" => [{ "arguments_for_key" => "mscharge", "i18n_template" => "mscharge", "key" => "field_formatted_as_currency" }], |
|
|
|
|
}) |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
it "has correct informative_text" do |
|
|
|
|
expect(page.informative_text).to eq({ "arguments" => [], "translation" => "soft_validations.monthly_charges_over_soft_max.hint_text" }) |
|
|
|
|
expect(page.informative_text).to eq({ "arguments" => [], "translation" => "forms.2024.sales.soft_validations.monthly_charges_over_soft_max.informative_text" }) |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
it "has correct interruption_screen_question_ids" do |
|
|
|
|