X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/be4852ec32e5eeed1af9a62017cfc39ed66ac186..f170c5a75f22a6db11ca93eed5b0dfc9c65c4270:/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 bd2f6beb6b..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, '