async def METHOD_NAME(client, world):
    async with world_communicator() as c:
        r = await sync_to_async(client.get)(
            "/api/v1/worlds/sample/rooms/",
            HTTP_AUTHORIZATION=get_token_header(world),
        )
        assert r.status_code == 200
        rid = r.data["results"][0]["id"]
        r = await sync_to_async(client.patch)(
            f"/api/v1/worlds/sample/rooms/{str(rid)}/",
            format="json",
            data={"name": "Forum"},
            HTTP_AUTHORIZATION=get_token_header(world),
        )
        assert r.status_code == 200
        w = await c.receive_json_from()
        assert w[0] == "world.updated"