How do I rotate an animation?

I have a cube in a empty parent object. The cube and the parent object are centered on a xz plane. The cube has an animation that moves it up (+z) to the top edge of the plane and then follows the edge of the plane clockwise.

I rotated the parent object 90 degrees in the z, but when I run the animation, it still follows the same path. I wanted/expected the cube to move from the center to the right and then around the perimeter of the plane.

Is this possible? If so, what am I doing wrong?

Turns out that I had done something stupid.

Rotating the parent object has the desired effect.