X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/550c4a3a45814fde5c809334c85f1ebc47659a82..c8fc2218e5e342ad7afc9409974fd48a733ba94b:/test/system/preferences_test.rb diff --git a/test/system/preferences_test.rb b/test/system/preferences_test.rb index 59a7209f5..b071b1f73 100644 --- a/test/system/preferences_test.rb +++ b/test/system/preferences_test.rb @@ -5,7 +5,7 @@ class PreferencesTest < ApplicationSystemTestCase sign_in_as(create(:user)) visit edit_preferences_path - click_on "Update Preferences" + click_button "Update Preferences" assert_content "Preferences updated" end @@ -15,7 +15,7 @@ class PreferencesTest < ApplicationSystemTestCase visit edit_preferences_path fill_in "Preferred Languages", :with => "fr" - click_on "Update Preferences" + click_button "Update Preferences" assert_content "Préférences mises à jour" end