The trials of Ted Cruz: Why he thought he'd get away with it