diff --git a/app/views/casework/application_searches/_search_results_table_body.html.erb b/app/views/casework/application_searches/_search_results_table_body.html.erb index c6e88352..d0069c61 100644 --- a/app/views/casework/application_searches/_search_results_table_body.html.erb +++ b/app/views/casework/application_searches/_search_results_table_body.html.erb @@ -20,7 +20,7 @@ <%= result.reviewed_at ? l(result.reviewed_at) : no_data(:reviewed_at) %> - <%= result.caseworker_name || no_data(:closed_by) %> + <%= result.caseworker_name || no_data(:caseworker) %> <%= t(result.review_status, scope: 'values.review_status') %> diff --git a/spec/system/casework/open_applications_dashboard_spec.rb b/spec/system/casework/open_applications_dashboard_spec.rb index d2708056..d4637868 100644 --- a/spec/system/casework/open_applications_dashboard_spec.rb +++ b/spec/system/casework/open_applications_dashboard_spec.rb @@ -30,7 +30,9 @@ Date.parse('2022-10-27'), Time.current.in_time_zone('London') ) - expect(first_row_text).to eq("Kit Pound 120398120 Initial 27 Oct 2022 #{days_ago} days No data exists for Caseworker") + expect(first_row_text).to eq( + "Kit Pound 120398120 Initial 27 Oct 2022 #{days_ago} days No data exists for Caseworker" + ) end it 'receives the application if not already received' do diff --git a/spec/system/casework/searching/search_filters_and_results_spec.rb b/spec/system/casework/searching/search_filters_and_results_spec.rb index 18df62ee..b0494007 100644 --- a/spec/system/casework/searching/search_filters_and_results_spec.rb +++ b/spec/system/casework/searching/search_filters_and_results_spec.rb @@ -32,7 +32,7 @@ expect(first_row_text).to eq( 'Kit Pound 120398120 Initial Summary only 27 Oct 2022 ' \ - 'No data exists for Date closed No data exists for Closed by Open' + 'No data exists for Date closed No data exists for Caseworker Open' ) end