]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/view_communities_test.rb
Make preferences page editable without clicking 'Edit Preferences'
[rails.git] / test / system / view_communities_test.rb
index 349d0a5bf742c4c97faf980f6055118a4ea10dad..b4b043edfce164af5aa95d381ed73c9119ba522c 100644 (file)
@@ -11,7 +11,7 @@ class ViewCommunitiesTest < ApplicationSystemTestCase
   def test_translated_links
     sign_in_as(create(:user))
 
-    visit edit_preferences_path
+    visit preferences_path
     fill_in "Preferred Languages", :with => "fr"
     click_on "Update Preferences"