Browse Source

Test depending on encoding

pull/788/head
Stéphane Meny 3 years ago
parent
commit
f108aa164a
No known key found for this signature in database
GPG Key ID: 9D0AFEA988527923
  1. 2
      spec/requests/locations_controller_spec.rb

2
spec/requests/locations_controller_spec.rb

@ -885,7 +885,7 @@ RSpec.describe LocationsController, type: :request do
end
it "has search in the title" do
expect(page).to have_title("#{scheme.service_name} (1 location matching ‘#{search_param}’) - Submit social housing lettings and sales data (CORE) - GOV.UK")
expect(page).to have_title(CGI.escapeHTML("#{scheme.service_name} (1 location matching ‘#{search_param}’) - Submit social housing lettings and sales data (CORE) - GOV.UK"))
end
end
end

Loading…
Cancel
Save