X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b2979b0db0b6b5ee7ad3001ffcc8f76ff4d96f05..40df5992d4d8071a6e10a20ecdeb0470a80764cc:/apps/workbench/test/unit/group_test.rb diff --git a/apps/workbench/test/unit/group_test.rb b/apps/workbench/test/unit/group_test.rb index 4a7144f99a..435463a83e 100644 --- a/apps/workbench/test/unit/group_test.rb +++ b/apps/workbench/test/unit/group_test.rb @@ -4,7 +4,7 @@ class GroupTest < ActiveSupport::TestCase test "get contents with names" do use_token :active oi = Group. - find(api_fixture('groups')['asubfolder']['uuid']). + find(api_fixture('groups')['asubproject']['uuid']). contents(include_linked: true) assert_operator(0, :<, oi.count, "Expected to find some items belonging to :active user") @@ -14,14 +14,14 @@ class GroupTest < ActiveSupport::TestCase "Expected to receive name links with contents response") oi_uuids = oi.collect { |i| i['uuid'] } - expect_uuid = api_fixture('specimens')['in_asubfolder']['uuid'] + expect_uuid = api_fixture('specimens')['in_asubproject']['uuid'] assert_includes(oi_uuids, expect_uuid, - "Expected '#{expect_uuid}' in asubfolder's contents") + "Expected '#{expect_uuid}' in asubproject's contents") - expect_uuid = api_fixture('specimens')['in_afolder_linked_from_asubfolder']['uuid'] - expect_name = api_fixture('links')['specimen_is_in_two_folders']['name'] + expect_uuid = api_fixture('specimens')['in_aproject_linked_from_asubproject']['uuid'] + expect_name = api_fixture('links')['specimen_is_in_two_projects']['name'] assert_includes(oi_uuids, expect_uuid, - "Expected '#{expect_uuid}' in asubfolder's contents") + "Expected '#{expect_uuid}' in asubproject's contents") assert_equal(expect_name, oi.name_for(expect_uuid), "Expected name_for '#{expect_uuid}' to be '#{expect_name}'") end