diff --git a/spec/models/form/question_spec.rb b/spec/models/form/question_spec.rb index 5d747311c..f52d87b65 100644 --- a/spec/models/form/question_spec.rb +++ b/spec/models/form/question_spec.rb @@ -108,6 +108,7 @@ RSpec.describe Form::Question, type: :model do it "has an update answer link text helper" do expect(question.update_answer_link_name(case_log)).to eq("Answer income") case_log[question_id] = 5 + case_log["incfreq"] = "Weekly" expect(question.update_answer_link_name(case_log)).to eq("Change income") end