Add failing scenario for testing user token change

This commit is contained in:
2013-11-07 09:57:07 +01:00
parent c04d602e7f
commit 7b9b784ef9
5 changed files with 33 additions and 4 deletions
+1
View File
@@ -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}