When a handful of Democrat senators supported a Republican funding bill late on Friday night, their colleagues were furious.