Ross County secured a surprise 1-1 draw with Aberdeen to open the way for Celtic to claim the Scottish Premiership title against Partick Thistle on Wednesday night.