X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/88ba316abeecffccd1cb51c63ce5594c95023624..9568c7fee85a615830ba78639b2ee8440da60668:/test/models/user_test.rb?ds=sidebyside 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"