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" @id = "needstype"
@check_answer_label = "Needs type" @check_answer_label = "Needs type"
@header = "What is the 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" @type = "radio"
@answer_options = ANSWER_OPTIONS @answer_options = ANSWER_OPTIONS
@derived = true @derived = true

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

@ -3,7 +3,7 @@ class Form::Setup::Questions::OwningOrganisationId < ::Form::Question
super super
@id = "owning_organisation_id" @id = "owning_organisation_id"
@check_answer_label = "Owning organisation" @check_answer_label = "Owning organisation"
@header = "Which organisation is the owning organisation for this log?" @header = "Which organisation owns this log?"
@hint_text = "" @hint_text = ""
@type = "select" @type = "select"
@page = page @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 end
it "has the correct header" do 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 end
it "has the correct check_answer_label" do it "has the correct check_answer_label" do

Loading…
Cancel
Save