]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/site_controller_test.rb
Facelift offline.html and use Bootstrap classes for "notifications"
[rails.git] / test / controllers / site_controller_test.rb
index 8a38da5c000ee99a7227b1caf8326979f93f34a1..73e1b4729430930c3a50fc9e78a1ceba98caf170 100644 (file)
@@ -495,7 +495,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