diff --git a/app/models/form/sales/questions/building_type.rb b/app/models/form/sales/questions/building_type.rb index 6673d5a6d..2ddded5b7 100644 --- a/app/models/form/sales/questions/building_type.rb +++ b/app/models/form/sales/questions/building_type.rb @@ -2,7 +2,7 @@ class Form::Sales::Questions::BuildingType < ::Form::Question def initialize(id, hsh, page) super @id = "builtype" - @check_answer_label = "Type of building" + @check_answer_label = "Building type" @header = "What type of building is the property?" @type = "radio" @answer_options = ANSWER_OPTIONS diff --git a/spec/models/form/sales/questions/building_type_spec.rb b/spec/models/form/sales/questions/building_type_spec.rb index bc81ccda0..bdd806e47 100644 --- a/spec/models/form/sales/questions/building_type_spec.rb +++ b/spec/models/form/sales/questions/building_type_spec.rb @@ -20,7 +20,7 @@ RSpec.describe Form::Sales::Questions::BuildingType, type: :model do end it "has the correct check_answer_label" do - expect(question.check_answer_label).to eq("Type of building") + expect(question.check_answer_label).to eq("Building type") end it "has the correct type" do diff --git a/spec/models/form/sales/subsections/setup_spec.rb b/spec/models/form/sales/subsections/setup_spec.rb index ec7ff4ada..fe2afe72b 100644 --- a/spec/models/form/sales/subsections/setup_spec.rb +++ b/spec/models/form/sales/subsections/setup_spec.rb @@ -13,7 +13,21 @@ RSpec.describe Form::Sales::Subsections::Setup, type: :model do it "has correct pages" do expect(setup.pages.map(&:id)).to eq( - %w[organisation created_by completion_date purchaser_code ownership_scheme shared_ownership_type discounted_ownership_type outright_ownership_type buyer_company buyer_live joint_purchase number_joint_buyers builtype], + %w[ + organisation + created_by + completion_date + purchaser_code + ownership_scheme + shared_ownership_type + discounted_ownership_type + outright_ownership_type + buyer_company + buyer_live + joint_purchase + number_joint_buyers + builtype + ], ) end