From 445883e796585aec4dcb379ebf7571ac818d62c9 Mon Sep 17 00:00:00 2001 From: kosiakkatrina <54268893+kosiakkatrina@users.noreply.github.com> Date: Thu, 12 Oct 2023 15:38:52 +0100 Subject: [PATCH] Update schemes banner text (#1968) --- app/controllers/schemes_controller.rb | 2 +- spec/features/schemes_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/schemes_controller.rb b/app/controllers/schemes_controller.rb index 92669bcbe..3b1c5dc8a 100644 --- a/app/controllers/schemes_controller.rb +++ b/app/controllers/schemes_controller.rb @@ -141,7 +141,7 @@ class SchemesController < ApplicationController flash[:notice] = if scheme_previously_confirmed "#{@scheme.service_name} has been updated." else - "#{@scheme.service_name} has been created." + "#{@scheme.service_name} has been created. It does not require helpdesk approval." end redirect_to scheme_path(@scheme) elsif check_answers diff --git a/spec/features/schemes_spec.rb b/spec/features/schemes_spec.rb index 12bd76697..569a7af03 100644 --- a/spec/features/schemes_spec.rb +++ b/spec/features/schemes_spec.rb @@ -657,7 +657,7 @@ RSpec.describe "Schemes scheme Features" do end it "adds scheme to the list of schemes" do - expect(page).to have_content "#{scheme.service_name} has been created." + expect(page).to have_content "#{scheme.service_name} has been created. It does not require helpdesk approval." click_link "Schemes" expect(page).to have_content "Supported housing schemes" expect(page).to have_content scheme.id_to_display