Browse Source

Rename context

pull/307/head
baarkerlounger 3 years ago
parent
commit
710396c0ef
  1. 4
      spec/models/case_log_spec.rb
  2. 1
      spec/models/validations/household_validations_spec.rb

4
spec/models/case_log_spec.rb

@ -43,8 +43,7 @@ RSpec.describe CaseLog do
end
end
# TODO: replace these with validator specs and checks for method call here
context "when saving income ranges" do
context "when soft validations exist" do
context "with an income in upper soft range" do
let(:case_log) do
FactoryBot.create(:case_log,
@ -75,7 +74,6 @@ RSpec.describe CaseLog do
end
end
end
# END TODO
end
describe "#update" do

1
spec/models/validations/household_validations_spec.rb

@ -475,7 +475,6 @@ RSpec.describe Validations::HouseholdValidations do
record.housingneeds_f = "Yes"
household_validator.validate_accessibility_requirements(record)
expect(record.errors["accessibility_requirements"]).to be_empty
end
end
end

Loading…
Cancel
Save