]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/messages_controller_test.rb
Disable delete account button if there are recent changesets
[rails.git] / test / controllers / messages_controller_test.rb
index 1193d3b25ec90187279e63b4ecb7a1d84dace48a..ca17401fdce4567bb008657278fd514a64750f42 100644 (file)
@@ -220,7 +220,7 @@ class MessagesControllerTest < ActionDispatch::IntegrationTest
                                :message => { :title => "Test Message", :body => "Test message body" })
             assert_response :success
             assert_template "new"
-            assert_select ".error", /wait a while/
+            assert_select ".alert.alert-danger", /wait a while/
           end
         end
       end