X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/af17604c5a93830380fb50db93ce543926c116cf..b3a016e9a47d453b5ae4d287d8b6eaafd69971df:/apps/workbench/test/integration/collections_test.rb?ds=sidebyside diff --git a/apps/workbench/test/integration/collections_test.rb b/apps/workbench/test/integration/collections_test.rb index 443130a4a9..6dd3c52696 100644 --- a/apps/workbench/test/integration/collections_test.rb +++ b/apps/workbench/test/integration/collections_test.rb @@ -57,7 +57,7 @@ class CollectionsTest < ActionDispatch::IntegrationTest test "can download an entire collection with a reader token" do use_keep_web_config - token = api_fixture('api_client_authorizations')['active']['api_token'] + token = api_token('active') data = "foo\nfile\n" datablock = `echo -n #{data.shellescape} | ARVADOS_API_TOKEN=#{token.shellescape} arv-put --no-progress --raw -`.strip assert $?.success?, $? @@ -88,7 +88,7 @@ class CollectionsTest < ActionDispatch::IntegrationTest link end end - assert_equal(['foo'], hrefs.compact.sort, + assert_equal(['./foo'], hrefs.compact.sort, "download page did provide strictly file links") click_link "foo" assert_text "foo\nfile\n"