A congressional spending plan was abandoned this week with fears it could mean a shutdown of the US government.