diff --git a/app/views/organisations/schemes.html.erb b/app/views/organisations/schemes.html.erb index 364a26c0b..65f7e7f23 100644 --- a/app/views/organisations/schemes.html.erb +++ b/app/views/organisations/schemes.html.erb @@ -13,7 +13,7 @@

Supported housing schemes

-<%= render SearchComponent.new(current_user:, search_label: "Search by scheme name or code", value: @searched) %> +<%= render SearchComponent.new(current_user:, search_label: "Search by scheme name, code or postcode", value: @searched) %>
diff --git a/app/views/schemes/index.html.erb b/app/views/schemes/index.html.erb index 50affc921..ae8f344e7 100644 --- a/app/views/schemes/index.html.erb +++ b/app/views/schemes/index.html.erb @@ -7,7 +7,7 @@

Supported housing schemes

-<%= render SearchComponent.new(current_user:, search_label: "Search by scheme name or code", value: @searched) %> +<%= render SearchComponent.new(current_user:, search_label: "Search by scheme name, code or postcode", value: @searched) %>
diff --git a/spec/features/schemes_spec.rb b/spec/features/schemes_spec.rb index 463e17f56..44cc276f8 100644 --- a/spec/features/schemes_spec.rb +++ b/spec/features/schemes_spec.rb @@ -32,7 +32,7 @@ RSpec.describe "Schemes scheme Features" do context "when I search for a specific scheme" do it "there is a search bar with a message and search button for schemes" do expect(page).to have_field("search") - expect(page).to have_content("Search by scheme name or code") + expect(page).to have_content("Search by scheme name, code or postcode") expect(page).to have_button("Search") end @@ -105,7 +105,7 @@ RSpec.describe "Schemes scheme Features" do context "when I search for a specific scheme" do it "there is a search bar with a message and search button for schemes" do expect(page).to have_field("search") - expect(page).to have_content("Search by scheme name or code") + expect(page).to have_content("Search by scheme name, code or postcode") expect(page).to have_button("Search") end