2871: add tests for get_n_objects_of_class helper method
[arvados.git] / apps / workbench / test / functional / users_controller_test.rb
index ae395ae0bf61970540381cdec667ef4ffd645d49..8b026cb14f0dee989dd750bbac644a4191e90fa6 100644 (file)
@@ -1,8 +1,12 @@
 require 'test_helper'
 
 class UsersControllerTest < ActionController::TestCase
-  test "valid token for deleted user ignored instead of crashing" do
-    skip
+  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
     assert_nil assigns(:my_jobs)