Pasta with Beans and Greens. Ingredients 1 (16-ounce) package whole-wheat pasta 2 medium onions 1 medium carrot 3 large cloves garlic 2 pounds (1 large bunch) spinach or kale, or 1 package frozen spinach Directions 1.