Browse Source

Setup this log tweaks (#684)

* Content tweaks

* Spec
pull/693/head
baarkerlounger 3 years ago committed by GitHub
parent
commit
02eea0d328
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/models/form/setup/questions/needs_type.rb
  2. 2
      app/models/form/setup/questions/owning_organisation_id.rb
  3. 2
      spec/models/form/setup/questions/owning_organisation_id_spec.rb

2
app/models/form/setup/questions/needs_type.rb

@ -4,7 +4,7 @@ class Form::Setup::Questions::NeedsType < ::Form::Question
@id = "needstype"
@check_answer_label = "Needs type"
@header = "What is the needs type?"
@hint_text = ""
@hint_text = "General needs housing includes both self-contained and shared housing without support or specific adaptations. Supported housing can include direct access hostels, group homes, residential care and nursing homes."
@type = "radio"
@answer_options = ANSWER_OPTIONS
@derived = true

2
app/models/form/setup/questions/owning_organisation_id.rb

@ -3,7 +3,7 @@ class Form::Setup::Questions::OwningOrganisationId < ::Form::Question
super
@id = "owning_organisation_id"
@check_answer_label = "Owning organisation"
@header = "Which organisation is the owning organisation for this log?"
@header = "Which organisation owns this log?"
@hint_text = ""
@type = "select"
@page = page

2
spec/models/form/setup/questions/owning_organisation_id_spec.rb

@ -27,7 +27,7 @@ RSpec.describe Form::Setup::Questions::OwningOrganisationId, type: :model do
end
it "has the correct header" do
expect(question.header).to eq("Which organisation is the owning organisation for this log?")
expect(question.header).to eq("Which organisation owns this log?")
end
it "has the correct check_answer_label" do

Loading…
Cancel
Save