The Circle of the Shepherd druid’s Unicorn Spirit Totem (XGtE, p. 24) says:
The unicorn spirit lends its protection to those nearby. You and your allies gain advantage on all ability checks made to detect creatures in the spirit’s aura. In addition, if you cast a spell using a spell slot that restores hit points to any creature inside or outside the aura, each creature of your choice in the aura also regains hit points equal to your druid level.
Does casting Goodberry count as a spell that “restores hit points”, since the characters then have to do an additional action to actually restore the hit points?