Democrats who voted no said they didn't want to back the spending without providing funding for other programmes.