modify admin/conference_controller_spec and not authorized error messages

This commit is contained in:
shlok007 2017-06-14 20:42:50 +05:30
parent aa3df0243e
commit ad3d6f2f95
8 changed files with 120 additions and 105 deletions

View file

@ -51,7 +51,7 @@ describe Admin::CommentsController, type: :controller do
comment
get :index
expect(response).to redirect_to(root_path)
expect(flash[:alert]).to match('You are not authorized to access this area!')
expect(flash[:alert]).to match('You are not authorized to access this page.')
end
end
end