X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a91afa0e78a5fa3e54aee38ec64c43fcea0b7abb..0f3f3ead0a573fef31118196f6dea17841dd0ac8:/test/controllers/site_controller_test.rb diff --git a/test/controllers/site_controller_test.rb b/test/controllers/site_controller_test.rb index 75a042bfe..cc155155f 100644 --- a/test/controllers/site_controller_test.rb +++ b/test/controllers/site_controller_test.rb @@ -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