Cook pasta to package instructions and set aside.
In a pan over medium heat, add oil and then onion, ginger, and garlic. Saute until onion is transparent.
Add tomatoes and all spices except kasoori methi (if using). Cook until tomatoes are soft and keep together well.
Turn off the heat and let the mixture cool. Blend it with the soaked cashews.
Pour the sauce back into the pan and heat on medium. Add about 1/4 cup water to adjust thickness of sauce if needed.
After a few minutes, add kasoori methi. 2-3 minutes later, add a handful of spinach and the pasta. Mix it all together and serve!