mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
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
|
|
@ -25,7 +25,7 @@ feature 'BaseController' do
|
|||
it 'not an admin it redirects to root_path' do
|
||||
visit admin_conferences_path
|
||||
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
|
||||
|
||||
it 'an admin he can access the admin area' do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue