diff --git a/app/views/case_logs/_log_list.html.erb b/app/views/case_logs/_log_list.html.erb
index d2dd66b8c..d2b4e8888 100644
--- a/app/views/case_logs/_log_list.html.erb
+++ b/app/views/case_logs/_log_list.html.erb
@@ -24,7 +24,9 @@
<% case_logs.map do |log| %>
<%= log.tenant_code? ? log.tenant_code : "–" %>
diff --git a/spec/requests/case_logs_controller_spec.rb b/spec/requests/case_logs_controller_spec.rb
index 9480f4bcb..9a9dd60e1 100644
--- a/spec/requests/case_logs_controller_spec.rb
+++ b/spec/requests/case_logs_controller_spec.rb
@@ -309,8 +309,8 @@ RSpec.describe CaseLogsController, type: :request do
end
it "only shows case logs for your organisation" do
- expected_case_row_log = "#{case_log.id}"
- unauthorized_case_row_log = "#{unauthorized_case_log.id}"
+ expected_case_row_log = "Log #{case_log.id}"
+ unauthorized_case_row_log = "Log #{unauthorized_case_log.id}"
expect(CGI.unescape_html(response.body)).to include(expected_case_row_log)
expect(CGI.unescape_html(response.body)).not_to include(unauthorized_case_row_log)
end
|