X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/9f993fe8c8be4664f975df426d69ded1dca77ae3..41d6f19a6bed3b1a53f2fba12ca86ffbac1f8f5a:/test/abilities/abilities_test.rb diff --git a/test/abilities/abilities_test.rb b/test/abilities/abilities_test.rb index 99154b4b7..c27f75833 100644 --- a/test/abilities/abilities_test.rb +++ b/test/abilities/abilities_test.rb @@ -29,7 +29,7 @@ class GuestAbilityTest < AbilityTest test "note permissions for a guest" do ability = Ability.new nil - [:mine].each do |action| + [:index].each do |action| assert ability.can?(action, Note), "should be able to #{action} Notes" end end