]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/user_controller_test.rb
Add preview functionality to rich text controls
[rails.git] / test / functional / user_controller_test.rb
index 24daa1a6c708a718f8240d276aad3dc607e30687..576eb0db9c72371a9778dcf3a08fc3359c5edc5e 100644 (file)
@@ -367,7 +367,7 @@ class UserControllerTest < ActionController::TestCase
     assert_template :account
     assert_select "div#errorExplanation", false
     assert_select "div#notice", /^User information updated successfully/
-    assert_select "table#accountForm > tr > td > textarea#user_description", user.description
+    assert_select "table#accountForm > tr > td > div#user_description_container > div#user_description_content > textarea#user_description", user.description
 
     # Changing name to one that exists should fail
     user.display_name = users(:public_user).display_name