Did what again exactly? Ted Cruz did the right thing.
It was just a jokey reference to one of Miss Spears’ well-known songs. https://www.youtube.com/watch?v=CduA0TULnow