X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/53aa7259bb0612eb48a17d0b954ad71ea37d87a4..967e6d4:/test/system/preferences_test.rb diff --git a/test/system/preferences_test.rb b/test/system/preferences_test.rb index 59a7209f5..89728a36e 100644 --- a/test/system/preferences_test.rb +++ b/test/system/preferences_test.rb @@ -4,7 +4,7 @@ class PreferencesTest < ApplicationSystemTestCase def test_flash_message_shows_in_original_language sign_in_as(create(:user)) - visit edit_preferences_path + visit preferences_path click_on "Update Preferences" assert_content "Preferences updated" @@ -13,7 +13,7 @@ class PreferencesTest < ApplicationSystemTestCase def test_flash_message_shows_in_new_language sign_in_as(create(:user)) - visit edit_preferences_path + visit preferences_path fill_in "Preferred Languages", :with => "fr" click_on "Update Preferences"