]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/user_test.rb
Merge branch 'pull/3024'
[rails.git] / test / models / user_test.rb
index 58c1d174b26a81dbccb88c95b8484500411c60af..de318df20c2f01a8d430b5793f44518d62f28571 100644 (file)
@@ -151,8 +151,8 @@ class UserTest < ActiveSupport::TestCase
   def test_user_preferred_editor
     user = create(:user)
     assert_nil user.preferred_editor
   def test_user_preferred_editor
     user = create(:user)
     assert_nil user.preferred_editor
-    user.preferred_editor = "potlatch"
-    assert_equal "potlatch", user.preferred_editor
+    user.preferred_editor = "id"
+    assert_equal "id", user.preferred_editor
     user.save!
 
     user.preferred_editor = "invalid_editor"
     user.save!
 
     user.preferred_editor = "invalid_editor"