House Speaker Paul Ryan said Thursday he believes the House will be able to pass a two-week spending bill today, despite a pledge of unified opposition to the measure by Democrats.

"I feel good where we are," Ryan, R-Wis., said Thursday.

Ryan referred reporters questions about the votes to Majority Whip Steve Scalise, R-La., who told the Washington Examiner Wednesday the House will pass the legislation even if Democrats uniformly oppose it.

Republicans could run into trouble rounding up enough support to pass the bill if their faction of conservatives votes in unison against it.

The head of that faction, House Freedom Caucus Chairman Mark Meadows, R-N.C., told the Washington Examiner he expects only some of the nearly three dozen HFC members will vote against the two-week measure.

House Minority Leader Nancy Pelosi, D-Calif., said moments before Ryan spoke that she is against the short-term plan because she is seeking a guarantee Congress will pass a year-end bill legalizing young people who arrived in the United States illegally as children.

"Either they have the votes or they don't have the votes today," Pelosi said. "But we have been outspoken about what our priorities are and this is a fight that is a fight for our country."

The bill, if passed by the House, must be cleared by the Senate before the end of the day Friday, when temporary spending authority expires.

Senate Minority Leader Chuck Schumer, D-N.Y., signaled this week he would support the two-week extension in order to provide more time to negotiate the Democrats' demands.