]> git.openstreetmap.org Git - rails.git/blobdiff - test/abilities/abilities_test.rb
Merge remote-tracking branch 'upstream/pull/4552'
[rails.git] / test / abilities / abilities_test.rb
index c27f758333d7d5818f2e6d1b52011369472707fb..139f270feee4d274d402f84630632e6bbde1dc41 100644 (file)
@@ -9,8 +9,8 @@ class GuestAbilityTest < AbilityTest
   test "geocoder permission for a guest" do
     ability = Ability.new nil
 
-    [:search, :search_latlon, :search_ca_postcode, :search_osm_nominatim,
-     :search_geonames, :search_osm_nominatim_reverse, :search_geonames_reverse].each do |action|
+    [:search, :search_latlon, :search_osm_nominatim,
+     :search_osm_nominatim_reverse].each do |action|
       assert ability.can?(action, :geocoder), "should be able to #{action} geocoder"
     end
   end