projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2871: some more comments
[arvados.git]
/
apps
/
workbench
/
test
/
functional
/
users_controller_test.rb
diff --git
a/apps/workbench/test/functional/users_controller_test.rb
b/apps/workbench/test/functional/users_controller_test.rb
index aadee36f656bfbd99bef0f113651b86f9701d2fc..8b026cb14f0dee989dd750bbac644a4191e90fa6 100644
(file)
--- a/
apps/workbench/test/functional/users_controller_test.rb
+++ b/
apps/workbench/test/functional/users_controller_test.rb
@@
-1,6
+1,11
@@
require 'test_helper'
class UsersControllerTest < ActionController::TestCase
require 'test_helper'
class UsersControllerTest < ActionController::TestCase
+ test "valid token works in functional test" do
+ get :index, {}, session_for(:active)
+ assert_response :success
+ end
+
test "ignore previously valid token (for deleted user), don't crash" do
get :welcome, {}, session_for(:valid_token_deleted_user)
assert_response :success
test "ignore previously valid token (for deleted user), don't crash" do
get :welcome, {}, session_for(:valid_token_deleted_user)
assert_response :success