From 1372842b88679c579935ce9a33017cc70b885a5e Mon Sep 17 00:00:00 2001 From: JG Date: Tue, 24 May 2022 11:17:50 +0100 Subject: [PATCH] testing correct suggestion for search --- app/views/case_logs/index.html.erb | 2 +- spec/features/log_spec.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/case_logs/index.html.erb b/app/views/case_logs/index.html.erb index 8c7dddfd2..aaaccf828 100644 --- a/app/views/case_logs/index.html.erb +++ b/app/views/case_logs/index.html.erb @@ -4,7 +4,7 @@ <%= content_for(:title) %> -<%= render SearchComponent.new(current_user:, label: "Search by name or email address") %> +<%= render SearchComponent.new(current_user:, label: "Search by log ID, tenant code, property reference or postcode") %>
diff --git a/spec/features/log_spec.rb b/spec/features/log_spec.rb index 2328d57d4..b53c076a5 100644 --- a/spec/features/log_spec.rb +++ b/spec/features/log_spec.rb @@ -17,6 +17,7 @@ RSpec.describe "Log Features" do context "I can search for a specific log" do it "there is a search bar for logs" do expect(page).to have_field("search-field") + expect(page).to have_content("Search by log ID, tenant code, property reference or postcode") end end end