modify admin/conference_controller_spec and not authorized error messages
This commit is contained in:
parent
aa3df0243e
commit
ad3d6f2f95
8 changed files with 120 additions and 105 deletions
|
|
@ -22,7 +22,7 @@ feature 'Has correct abilities' do
|
|||
|
||||
visit admin_conference_path(conference1.short_title)
|
||||
expect(current_path).to eq root_path
|
||||
expect(flash).to eq 'You are not authorized to access this area!'
|
||||
expect(flash).to eq 'You are not authorized to access this page.'
|
||||
end
|
||||
|
||||
scenario 'when user is organizer' do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue