X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4ab134d8696133a397745bdb7afb5d4f4cc8f90e..8c32e6349281dc041af55d3b493fdeac85212b02:/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