Add permission to access admin/shedule by cfp#1432

This commit is contained in:
nasia 2017-04-07 14:36:18 +03:00
parent e28d681eb8
commit 11938025cf
3 changed files with 4 additions and 3 deletions

View file

@ -274,7 +274,7 @@ describe 'User' do
it{ should_not be_able_to(:manage, conference_public.questions.first) }
it{ should be_able_to(:manage, my_conference.program.cfp) }
it{ should_not be_able_to(:manage, conference_public.program.cfp) }
it{ should_not be_able_to(:manage, my_schedule) }
it{ should be_able_to(:manage, my_schedule) }
it{ should_not be_able_to(:manage, other_schedule) }
it{ should_not be_able_to(:manage, my_event_schedule) }
it{ should_not be_able_to(:manage, other_event_schedule) }