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