Browse Source

Update household section name

pull/1246/head
Kat 3 years ago
parent
commit
a7c5bad795
  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