Angus Taylor was telling colleagues the Coalition could win the next election. Days later, a frontbencher quit.