"The American people deserve far better than last-minute, short-term legislating," White House spokesman Josh Earnest said in a statement.