- [:create, :edit, :comment, :subscribe, :unsubscribe, :hide, :hidecomment].each do |action|
+ [:index].each do |action|
+ assert ability.can?(action, DiaryComment), "should be able to #{action} DiaryComments"
+ end
+
+ [:create, :edit, :comment, :subscribe, :unsubscribe, :hide, :unhide].each do |action|