]> git.openstreetmap.org Git - rails.git/blobdiff - test/helpers/title_helper_test.rb
Localisation updates from https://translatewiki.net.
[rails.git] / test / helpers / title_helper_test.rb
index d07a5bd0707dc9cdb6698f3e99753638a1a1d183..523313eaf64f36e71fc2b38f54f6dc7772f472a8 100644 (file)
@@ -3,6 +3,10 @@ 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