Browse Source

Encoding heisenspec

pull/790/head v0.2.1
baarkerlounger 2 years ago
parent
commit
72b8a02608
  1. 3
      spec/requests/locations_controller_spec.rb

3
spec/requests/locations_controller_spec.rb

@ -885,7 +885,8 @@ 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")
expected_title = CGI.escapeHTML("#{scheme.service_name} (1 location matching ‘#{search_param}’) - Submit social housing lettings and sales data (CORE) - GOV.UK")
expect(page).to have_title(expected_title)
end
end
end

Loading…
Cancel
Save