Browse Source

Remove outdated copy (#2815)

pull/2803/head^2
kosiakkatrina 1 month ago committed by GitHub
parent
commit
eb995e75ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      app/controllers/schemes_controller.rb
  2. 2
      spec/features/schemes_spec.rb

2
app/controllers/schemes_controller.rb

@ -152,7 +152,7 @@ class SchemesController < ApplicationController
flash[:notice] = if scheme_previously_confirmed
"#{@scheme.service_name} has been updated."
else
"#{@scheme.service_name} has been created. It does not require helpdesk approval."
"#{@scheme.service_name} has been created."
end
redirect_to scheme_path(@scheme)
end

2
spec/features/schemes_spec.rb

@ -677,7 +677,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. It does not require helpdesk approval."
expect(page).to have_content "#{scheme.service_name} has been created."
click_link "Schemes"
expect(page).to have_content "Supported housing schemes"
expect(page).to have_content scheme.id_to_display

Loading…
Cancel
Save