X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9a9b045372a6f48420a9a6dacfde52c34ab7abce..dbd88d893f3c3fce9cafd666b94396988646d81f:/test/helpers/title_helper_test.rb diff --git a/test/helpers/title_helper_test.rb b/test/helpers/title_helper_test.rb index d07a5bd07..7d8355430 100644 --- a/test/helpers/title_helper_test.rb +++ b/test/helpers/title_helper_test.rb @@ -1,8 +1,13 @@ # coding: utf-8 + require "test_helper" class TitleHelperTest < ActionView::TestCase def test_set_title + set_title + assert_equal "OpenStreetMap", response.header["X-Page-Title"] + assert_nil @title + set_title(nil) assert_equal "OpenStreetMap", response.header["X-Page-Title"] assert_nil @title