X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/76e20e694fbe708e17e57a2e0b1c36aca6e8d7d0..f8743ac8fa1ed9dc8c7c4f7a23803ffe8721cfa6:/services/api/test/unit/group_test.rb diff --git a/services/api/test/unit/group_test.rb b/services/api/test/unit/group_test.rb index 6b419ad64a..597af62ec8 100644 --- a/services/api/test/unit/group_test.rb +++ b/services/api/test/unit/group_test.rb @@ -5,9 +5,10 @@ class GroupTest < ActiveSupport::TestCase test "cannot set owner_uuid to object with existing ownership cycle" do set_user_from_auth :active_trustedclient - # First make sure we have lots of permission on the bad group + # First make sure we have lots of permission on the bad group by + # renaming it to "{current name} is mine all mine" g = groups(:bad_group_has_ownership_cycle_b) - g.name += " xyz" + g.name += " is mine all mine" assert g.save, "active user should be able to modify group #{g.uuid}" # Use the group as the owner of a new object