Browse Source

Update household section name (#1246)

pull/1098/head
kosiakkatrina 2 years ago committed by GitHub
parent
commit
6f1566bbc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/models/form/sales/subsections/household_needs.rb
  2. 2
      spec/models/form/sales/subsections/household_needs_spec.rb

2
app/models/form/sales/subsections/household_needs.rb

@ -2,7 +2,7 @@ class Form::Sales::Subsections::HouseholdNeeds < ::Form::Subsection
def initialize(id, hsh, section)
super
@id = "household_needs"
@label = "Household needs"
@label = "Other household information"
@depends_on = [{ "setup_completed?" => true }]
end

2
spec/models/form/sales/subsections/household_needs_spec.rb

@ -30,7 +30,7 @@ RSpec.describe Form::Sales::Subsections::HouseholdNeeds, type: :model do
end
it "has the correct label" do
expect(household_characteristics.label).to eq("Household needs")
expect(household_characteristics.label).to eq("Other household information")
end
it "has correct depends on" do

Loading…
Cancel
Save