X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d65e01982324fa28b03557f3b819328e5c0b724c..963827d396959b856363417cc74749e79925c892:/test/helpers/title_helper_test.rb diff --git a/test/helpers/title_helper_test.rb b/test/helpers/title_helper_test.rb index cf7a11243..11578cc11 100644 --- a/test/helpers/title_helper_test.rb +++ b/test/helpers/title_helper_test.rb @@ -9,5 +9,9 @@ class TitleHelperTest < ActionView::TestCase set_title("Test Title") assert_equal "OpenStreetMap | Test Title", response.header["X-Page-Title"] assert_equal "Test Title", @title + + set_title("Test & Title") + assert_equal "OpenStreetMap | Test & Title", response.header["X-Page-Title"] + assert_equal "Test & Title", @title end end