X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9e1dfe35c7aedb82897dfd21c446b67e159a13ba..d2f26a54367fcdd568b83a2cc4c188117fcfe731:/test/system/view_communities_test.rb diff --git a/test/system/view_communities_test.rb b/test/system/view_communities_test.rb index d028dc4a1..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 États-Unis", :href => "https://www.openstreetmap.us/" - assert_link "Chapitre local OpenStreetMap Belgique", :href => "https://openstreetmap.be/" + assert_link "OpenStreetMap Belgique", :href => "https://openstreetmap.be/" end end