Browse Source

correct title for non support

pull/639/head
JG 3 years ago
parent
commit
e6b2266972
  1. 2
      spec/requests/case_logs_controller_spec.rb

2
spec/requests/case_logs_controller_spec.rb

@ -326,7 +326,7 @@ RSpec.describe CaseLogsController, type: :request do
it "has search results in the title" do
get "/logs?search=#{log_to_search.id}", headers: headers, params: {}
expect(page).to have_title("Your organisation (1 log matching ‘#{log_to_search.id}’ of #{log_total_count} total logs) - Submit social housing lettings and sales data (CORE) - GOV.UK")
expect(page).to have_title("#{log_to_search.owning_organisation.name} (1 log matching ‘#{log_to_search.id}) - Submit social housing lettings and sales data (CORE) - GOV.UK")
end
it "shows case logs matching the id" do

Loading…
Cancel
Save