When you use spinach in curry, or any stew or casserole type dish, you should always add the spinach towards the end of the cooking time. The leaves will wilt fast over the course of a minute or two.