]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/site_controller_test.rb
Localisation updates from https://translatewiki.net.
[rails.git] / test / controllers / site_controller_test.rb
index 8a38da5c000ee99a7227b1caf8326979f93f34a1..75a042bfeb95ca1ca14db8638b7040606010b3a1 100644 (file)
@@ -476,6 +476,11 @@ class SiteControllerTest < ActionDispatch::IntegrationTest
     assert_response :success
     assert_template "about"
     assert_select "div[lang='ar'][dir='rtl']"
+
+    # Page should still render even with incorrect locale
+    get about_path(:about_locale => "zzz")
+    assert_response :success
+    assert_template "about"
   end
 
   # Test the export page