]> git.openstreetmap.org Git - rails.git/blobdiff - test/abilities/abilities_test.rb
Merge remote-tracking branch 'upstream/pull/3791'
[rails.git] / test / abilities / abilities_test.rb
index 99154b4b72cfaeb79ef35019ed4bdb0293f6c174..c27f758333d7d5818f2e6d1b52011369472707fb 100644 (file)
@@ -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