3 class TitleHelperTest < ActionView::TestCase
6 assert_equal "OpenStreetMap", response.header["X-Page-Title"]
9 set_title("Test Title")
10 assert_equal "OpenStreetMap | Test Title", response.header["X-Page-Title"]
11 assert_equal "Test Title", @title