X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/84d90fabe44a7aff9a111162cbd1e1d463ac1f9c..0ff89c31e4f8a0c3fc31772c4cf914c4fd7f5656:/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"