X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c6452ff3cf71462a46c3d7584696e0948dcce4dc..8cd99fc692479db9c2aaa211d34ce7d62df47328:/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 01f740cfa0..93686aa6b1 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, '