Prep ingredients
Slice onion, mince garlic, halve tomatoes, and slice bell pepper. Drain beans if using.Add everything to pot
In a large pot, add pasta, onion, garlic, tomatoes, bell pepper, chickpeas, oregano, basil, red pepper flakes, bay leaf, and nutritional yeast.Add liquid
Pour in vegetable broth until pasta is just submerged.Cook the pasta
Bring to a boil over medium-high heat. Stir well, then reduce heat to medium. Cook uncovered for 9–12 minutes, stirring every 1–2 minutes.Add spinach
Add spinach in the last 2 minutes of cooking and stir until wilted.Finish and serve
Remove from heat. Stir in lemon juice and olive oil. Season with salt and pepper. Remove bay leaf, garnish, and serve hot.