diff --git a/app/models/scheme.rb b/app/models/scheme.rb index 07ae207a3..4d3653da3 100644 --- a/app/models/scheme.rb +++ b/app/models/scheme.rb @@ -8,14 +8,14 @@ class Scheme < ApplicationRecord SCHEME_TYPE = { 0 => "Missings", 4 => "Foyer", - 5 => "D, L, Airect Access Hostel", + 5 => "Direct Access Hostel", 6 => "Other Supported Housing", 7 => "Housing for older people", }.freeze PRIMARY_CLIENT_GROUP = { "O" => "Homeless families with support needs", - "H" => "Offenders & people at risk of offending", + "H" => "Offenders & people at risk of offending", "M" => "Older people with support needs", "L" => "People at risk of domestic violence", "A" => "People with a physical or sensory disability", diff --git a/spec/features/schemes_spec.rb b/spec/features/schemes_spec.rb index 9664d6a76..bd66ccf53 100644 --- a/spec/features/schemes_spec.rb +++ b/spec/features/schemes_spec.rb @@ -2,7 +2,7 @@ require "rails_helper" RSpec.describe "Supported housing scheme Features" do context "when viewing list of schemes" do - context "when I am signed as a support user in there are schemes in the database" do + context "when I am signed as a support user and there are schemes in the database" do let(:user) { FactoryBot.create(:user, :support, last_sign_in_at: Time.zone.now) } let!(:schemes) { FactoryBot.create_list(:scheme, 5) } let!(:scheme_to_search) { FactoryBot.create(:scheme) } @@ -77,7 +77,7 @@ RSpec.describe "Supported housing scheme Features" do end context "when viewing individual scheme" do - context "when I am signed as a support user in there are schemes in the database" do + context "when I am signed as a support user and there are schemes in the database" do let(:user) { FactoryBot.create(:user, :support, last_sign_in_at: Time.zone.now) } let!(:schemes) { FactoryBot.create_list(:scheme, 5) } let(:notify_client) { instance_double(Notifications::Client) }