X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/403c8941a6ffeb39bd796c0591ca999b6babc0ca..7e7ede890e8e948236d3dbc48e24aca00cd01f62:/test/system/preferences_test.rb diff --git a/test/system/preferences_test.rb b/test/system/preferences_test.rb index e5bcd1092..59a7209f5 100644 --- a/test/system/preferences_test.rb +++ b/test/system/preferences_test.rb @@ -7,7 +7,7 @@ class PreferencesTest < ApplicationSystemTestCase visit edit_preferences_path click_on "Update Preferences" - assert page.has_content?("Preferences updated") + assert_content "Preferences updated" end def test_flash_message_shows_in_new_language @@ -17,7 +17,6 @@ class PreferencesTest < ApplicationSystemTestCase fill_in "Preferred Languages", :with => "fr" click_on "Update Preferences" - # TODO: enable with french translation when that's available - # assert page.has_content?("Préférences mises à jour") # rubocop:disable Style/AsciiComments + assert_content "Préférences mises à jour" end end