when they reached miraz 's tent they saw edmund and his two companions seated outside it and being entertained with cakes and wine , having already delivered the challenge , and withdrawn while the king was considering it .