X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/61e963ecdb76591453577af9ba8d66de30ca7e26..3a1b4cbe3396092efa2ea2c60cdbfb2a6ed6de0d:/test/system/preferences_test.rb diff --git a/test/system/preferences_test.rb b/test/system/preferences_test.rb index 6a4d2397f..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,6 +17,6 @@ class PreferencesTest < ApplicationSystemTestCase fill_in "Preferred Languages", :with => "fr" click_on "Update Preferences" - assert page.has_content?("Préférences mises à jour") + assert_content "Préférences mises à jour" end end