Fix test for change to editor options
authorTom Hughes <tom@compton.nu>
Wed, 1 Dec 2010 09:27:12 +0000 (09:27 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 1 Dec 2010 09:27:12 +0000 (09:27 +0000)
test/functional/site_controller_test.rb

index 8c378046e89f54ff04bc70ca44fd4b3e6c75890d..1b020380d13243e574ab40df2fb8e9fc3cd32c2d 100644 (file)
@@ -59,7 +59,7 @@ class SiteControllerTest < ActionController::TestCase
     assert_template :partial => "_potlatch", :count => 1
 
     user = users(:public_user)
     assert_template :partial => "_potlatch", :count => 1
 
     user = users(:public_user)
-    user.preferred_editor = "josm"
+    user.preferred_editor = "remote"
     user.save!
 
     get(:edit, nil, { 'user' => user.id })
     user.save!
 
     get(:edit, nil, { 'user' => user.id })