20943: role groups should now handle being trashed
[arvados.git] / services / api / test / functional / arvados / v1 / groups_controller_test.rb
index 52ed140bae06f248eed340d5c4a430b743b04144..c01fa97836f74e13da36e50159c07056bfb5b33f 100644 (file)
@@ -575,8 +575,8 @@ class Arvados::V1::GroupsControllerTest < ActionController::TestCase
             format: :json,
           }
       assert_response :success
-      # Should not be trashed
-      assert_nil Group.find_by_uuid(groups(grp).uuid)
+      # Should be trashed
+      assert Group.find_by_uuid(groups(grp).uuid).is_trashed
     end
   end