Add failing scenario for testing user token change
This commit is contained in:
@@ -11,6 +11,7 @@ class UserController < ApplicationController
|
||||
else
|
||||
authenticate_user!
|
||||
end
|
||||
|
||||
unless current_user.present?
|
||||
respond_to do |format|
|
||||
format.html {redirect_to new_user_session_path}
|
||||
|
||||
Reference in New Issue
Block a user