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