diff --git a/test/functional/sitemap_controller_test.rb b/test/functional/sitemap_controller_test.rb index 78ce65d2d..9cf3b0f80 100644 --- a/test/functional/sitemap_controller_test.rb +++ b/test/functional/sitemap_controller_test.rb @@ -21,7 +21,7 @@ class SitemapControllerTest < ActionController::TestCase assert_response :success - assert_select "url > loc", "http://www.dev.gov.uk/test-path", count: 1 + assert_select "url > loc", { text: "http://www.dev.gov.uk/test-path", count: 1 } end end