Browse Source

Update helper tests

CLDC-3740-Replace-you-didnt-answer-with-link
Manny Dinssa 4 weeks ago
parent
commit
d892f30b27
  1. 2
      spec/helpers/check_answers_helper_spec.rb

2
spec/helpers/check_answers_helper_spec.rb

@ -43,7 +43,7 @@ RSpec.describe CheckAnswersHelper do
context "when unanswered and bulk upload" do
let(:question) { log.form.questions.sample }
let(:bulk_upload) { create(:bulk_upload) }
let(:log) { build(:sales_log, creation_method: "bulk upload", bulk_upload:) }
let(:log) { create(:sales_log, creation_method: "bulk upload", bulk_upload:) }
it "is red" do
expect(get_answer_label(question, log)).to include("red")

Loading…
Cancel
Save