X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1966eff7c92733225cd9fe1a4121ae0b8f1153d3..183bdcd6c6b2c54f8f2558fbdb6bec974c1d16e4:/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 fff5db78d5..ac2625aaea 100644 --- a/apps/workbench/test/integration/collections_test.rb +++ b/apps/workbench/test/integration/collections_test.rb @@ -3,11 +3,10 @@ require 'selenium-webdriver' require 'headless' class CollectionsTest < ActionDispatch::IntegrationTest - test "Collection page renders default name links" do + test "Collection page renders name" do uuid = api_fixture('collections')['foo_file']['uuid'] - coll_name = api_fixture('links')['foo_collection_name_in_aproject']['name'] - name_uuid = api_fixture('links')['foo_collection_name_in_aproject']['uuid'] - visit page_with_token('active', "/collections/#{name_uuid}") + coll_name = api_fixture('collections')['foo_file']['name'] + visit page_with_token('active', "/collections/#{uuid}") assert(page.has_text?(coll_name), "Collection page did not include name") # Now check that the page is otherwise normal, and the collection name # isn't only showing up in an error message.