1. Heat the olive oil in a large pot over medium heat.
2. Add the onion and garlic, and sauté until the onion is translucent.
3. Add the carrots, celery, and zucchini, and cook for about 5 minutes.
4. Stir in the diced tomatoes, vegetable broth, and beans.
5. Bring to a boil, then reduce heat and simmer for 20 minutes.
6. Add the pasta, oregano, and basil. Cook until the pasta is tender.
7. Season with salt and pepper to taste.
8. Stir in the spinach and cook until wilted.
9. Serve hot.