ability_test.rb revision 772a71bcc07f7001f5cd3cb4c3dc2cf393ffe9be
216N/A should 'be allowed: edit, update, destroy, permissions' do 216N/A should 'not be allowed on other: edit, update, destroy, permissions' do should 'be allowed: edit, update, destroy' do should 'be allowed: create, show, index' do should 'not be allowed: edit, update, destroy (without admin on team)' do should 'not be allowed: edit, update, destroy (without being on team)' do should 'destroy his own comment' do should 'not be allowed to destroy others comment' do should 'destroy others comment' do context 'comments repository owner' do should 'destroy others comments for his repository' do context 'comments repository editor' do should 'not destroy others comments for his repository' do