]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/users_controller_test.rb
Remove both Potlatch versions
[rails.git] / test / controllers / users_controller_test.rb
index bffcfe5bde6f0b11c58d0bd39d25dc9181668e6f..89c2d2c9c040f8f0d50ed0de0c0fe5d8dd080bc5 100644 (file)
@@ -969,13 +969,13 @@ class UsersControllerTest < ActionDispatch::IntegrationTest
     assert_select "form#accountForm > fieldset > div.standard-form-row > select#user_preferred_editor > option[selected]", false
 
     # Changing to a valid editor should work
-    user.preferred_editor = "potlatch2"
+    user.preferred_editor = "id"
     post user_account_path(user), :params => { :user => user.attributes }
     assert_response :success
     assert_template :account
     assert_select "div#errorExplanation", false
     assert_select ".notice", /^User information updated successfully/
-    assert_select "form#accountForm > fieldset > div.standard-form-row > select#user_preferred_editor > option[selected][value=?]", "potlatch2"
+    assert_select "form#accountForm > fieldset > div.standard-form-row > select#user_preferred_editor > option[selected][value=?]", "id"
 
     # Changing to the default editor should work
     user.preferred_editor = "default"