Rodolph Austin scored two penalties as Leeds United drew 2-2 in a friendly at Chesterfield.
United took the lead just after the break when Austin slotted home after Luke Murphy had been brought down in the box.
But the Spireites hit back to lead 2-1 with two goals from Sam Morsy. It needed a late second spot-kick from Austin, after Sam Byram had been fouled, to ensure the visitors avoided defeat.
Aidy White left the field on a stretcher after injuring his ankle.