Cook pasta according to package directions. While pasta is cooking, heat olive oil in a skillet over medium heat. Add onion, garlic and mushrooms and cook until tender. Add spinach and cook until wilted. Add tomatoes until heated through. Add drained pasta and feta. Add salt and pepper to taste. Warm all the way through and serve.