Removed delete action from abiltiy.rb and other places

There was no delete action defined for proposals, but it was there in ability.rb So the ability was deleted. Fixes #1608
This commit is contained in:
divyanshumehta 2017-08-09 13:26:38 +05:30
parent 32c5af2a17
commit 3409d246a8
3 changed files with 2 additions and 3 deletions

View file

@ -101,7 +101,6 @@ describe 'User' do
it{ should be_able_to(:update, user_event_with_cfp) }
it{ should be_able_to(:show, user_event_with_cfp) }
it{ should be_able_to(:delete, user_event_with_cfp) }
it{ should_not be_able_to(:new, Event.new(program: program_without_cfp)) }
it{ should_not be_able_to(:create, Event.new(program: program_without_cfp)) }
# TODO: At moment it's not possible to manually add someone else as event_user