Most things in the Senate that have to happen fast require unanimous consent. Any senator could have spoken up and demanded time for a debate.
Cruz is very intelligent and knows the difference between losing a battle and losing the war.
There are many looming battles to be fought.