X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/12c1d5e6c05813a0697724277b4d8529a1a7c240..c12f8959dd2059b4ea9d45caf716923d7589cbb0:/test/system/view_communities_test.rb diff --git a/test/system/view_communities_test.rb b/test/system/view_communities_test.rb index f431ed64a..539daaa30 100644 --- a/test/system/view_communities_test.rb +++ b/test/system/view_communities_test.rb @@ -5,7 +5,7 @@ class ViewCommunitiesTest < ApplicationSystemTestCase # Check that all the parsing of the chapter information has worked visit "/communities" assert_link "OpenStreetMap US", :href => "https://www.openstreetmap.us/" - assert_link "OpenStreetMap Belgium Local Chapter", :href => "https://openstreetmap.be/" + assert_link "OpenStreetMap Belgium", :href => "https://openstreetmap.be/" end def test_translated_links @@ -13,10 +13,10 @@ class ViewCommunitiesTest < ApplicationSystemTestCase visit edit_preferences_path fill_in "Preferred Languages", :with => "fr" - click_on "Update Preferences" + click_button "Update Preferences" visit "/communities" - assert_link "OpenStreetMap US", :href => "https://www.openstreetmap.us/" - assert_link "Chapitre local OpenStreetMap Belgique", :href => "https://openstreetmap.be/" + assert_link "OpenStreetMap États-Unis", :href => "https://www.openstreetmap.us/" + assert_link "OpenStreetMap Belgique", :href => "https://openstreetmap.be/" end end