]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/site_controller_test.rb
Swap older/newer diary entries buttons
[rails.git] / test / controllers / site_controller_test.rb
index 75a042bfeb95ca1ca14db8638b7040606010b3a1..cc155155fb7673771cf6c35e6a51afd7cbbdc5d2 100644 (file)
@@ -500,7 +500,7 @@ class SiteControllerTest < ActionDispatch::IntegrationTest
   def test_offline
     get offline_path
     assert_response :success
-    assert_template "offline"
+    assert_select ".alert-warning"
   end
 
   # Test the rich text preview