From 669487e0f7b91ac80d4c0c7a8014ae2d16a29d78 Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Mon, 14 Feb 2022 12:54:42 +0000 Subject: [PATCH] Remove dupe validation --- spec/models/case_log_spec.rb | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/spec/models/case_log_spec.rb b/spec/models/case_log_spec.rb index 87a65219f..715dd752c 100644 --- a/spec/models/case_log_spec.rb +++ b/spec/models/case_log_spec.rb @@ -55,19 +55,6 @@ RSpec.describe CaseLog do end end - context "when validating pregnancy questions" do - it "Can answer yes if valid second tenant" do - expect { - described_class.create!(preg_occ: "Yes", - sex1: "Male", age1: 99, - sex2: "Female", - age2: 20, - owning_organisation:, - managing_organisation:) - }.not_to raise_error - end - end - context "when validating property vacancy and let as" do it "cannot have a previously let as type, if it hasn't been let before" do expect {