From 14d77b6cc5d0cd444c7a49c10c828518f61672e1 Mon Sep 17 00:00:00 2001 From: MadeTech Dushan Date: Fri, 4 Feb 2022 11:35:55 +0000 Subject: [PATCH] fix failing spec --- spec/models/form/question_spec.rb | 1 + 1 file changed, 1 insertion(+) 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