11167: Test adjusted.
authorLucas Di Pentima <lucas@curoverse.com>
Fri, 21 Jul 2017 16:54:49 +0000 (13:54 -0300)
committerLucas Di Pentima <lucas@curoverse.com>
Fri, 21 Jul 2017 16:54:49 +0000 (13:54 -0300)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@curoverse.com>

apps/workbench/test/controllers/collections_controller_test.rb

index 5f67837146680ee285a2fa86e5c8cb7909607411..773a4f45714b515d664ec290ecb61e32bcca5695 100644 (file)
@@ -125,8 +125,7 @@ class CollectionsControllerTest < ActionController::TestCase
     params[:reader_token] = api_fixture("api_client_authorizations",
                                         "active_all_collections", "api_token")
     get(:show_file_links, params)
-    assert_response :success
-    assert_equal([['.', 'foo', 3]], assigns(:object).files)
+    assert_response :redirect
     assert_no_session
   end