X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a65cb8428867d92d76bbf051bbd4614966636cf5..1303ba8c7d11b71c0366af4791af1e95f89b0211:/test/models/user_test.rb diff --git a/test/models/user_test.rb b/test/models/user_test.rb index 58c1d174b..de318df20 100644 --- a/test/models/user_test.rb +++ b/test/models/user_test.rb @@ -151,8 +151,8 @@ class UserTest < ActiveSupport::TestCase 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"