Add conference specifc route to revision history page
This commit is contained in:
parent
5965bcf193
commit
51d569794f
5 changed files with 16 additions and 11 deletions
|
|
@ -102,7 +102,7 @@ describe Admin::VersionsController do
|
|||
it 'raises error if user is not an organizer of specified conference' do
|
||||
user = create(:user)
|
||||
sign_in user
|
||||
get :index, conference_id: conference.id
|
||||
get :index, conference_id: conference.short_title
|
||||
expect(flash[:alert]).to match('You are not authorized to access this area.')
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue