X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d65e01982324fa28b03557f3b819328e5c0b724c..d4d1527a92f23f973b405cea42bef8009ce9f4c4:/test/helpers/title_helper_test.rb diff --git a/test/helpers/title_helper_test.rb b/test/helpers/title_helper_test.rb index cf7a11243..2a3cbc46e 100644 --- a/test/helpers/title_helper_test.rb +++ b/test/helpers/title_helper_test.rb @@ -1,4 +1,4 @@ -require 'test_helper' +require "test_helper" class TitleHelperTest < ActionView::TestCase def test_set_title @@ -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