X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4ccbea9ef440a7e4252b0df5e710dcb767831c60..75efbc85be494c802f3c6822875cb64b9a34de6b:/apps/workbench/test/controllers/container_requests_controller_test.rb diff --git a/apps/workbench/test/controllers/container_requests_controller_test.rb b/apps/workbench/test/controllers/container_requests_controller_test.rb index 6f5a6daa10..c8709df3c3 100644 --- a/apps/workbench/test/controllers/container_requests_controller_test.rb +++ b/apps/workbench/test/controllers/container_requests_controller_test.rb @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + require 'test_helper' class ContainerRequestsControllerTest < ActionController::TestCase @@ -8,12 +12,12 @@ class ContainerRequestsControllerTest < ActionController::TestCase container_uuid = cr['container_uuid'] container = Container.find(container_uuid) - get :show, {id: cr['uuid'], tab_pane: 'Log'}, session_for(:active) + get :show, params: {id: cr['uuid'], tab_pane: 'Log'}, session: session_for(:active) assert_response :success assert_select "a", {:href=>"/collections/#{container['log']}", :text=>"Download the log"} assert_select "a", {:href=>"#{container['log']}/baz"} - assert_not_includes @response.body, '