From 1a54674bdf6ec7e0f550727a525d14a7e3084ea1 Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Fri, 23 Dec 2022 15:22:36 +0000 Subject: [PATCH] test: updates --- spec/factories/sales_log.rb | 1 + spec/models/form/sales/questions/buyer_still_serving_spec.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/factories/sales_log.rb b/spec/factories/sales_log.rb index ba0f10b63..34fd33a91 100644 --- a/spec/factories/sales_log.rb +++ b/spec/factories/sales_log.rb @@ -73,6 +73,7 @@ FactoryBot.define do pregghb { 1 } disabled { 1 } hhregres { 1 } + hhregresstill { 4 } end end end diff --git a/spec/models/form/sales/questions/buyer_still_serving_spec.rb b/spec/models/form/sales/questions/buyer_still_serving_spec.rb index e3282ed61..e5d91572e 100644 --- a/spec/models/form/sales/questions/buyer_still_serving_spec.rb +++ b/spec/models/form/sales/questions/buyer_still_serving_spec.rb @@ -12,7 +12,7 @@ RSpec.describe Form::Sales::Questions::BuyerStillServing, type: :model do end it "has the correct id" do - expect(question.id).to eq("hhregres") + expect(question.id).to eq("hhregresstill") end it "has the correct header" do