Preheat oven to 350 degrees
Heat oil over medium heat in a skillet. When hot, sauté onions for 3 minutes, stirring occasionally.
Add garlic, cook for 1 minute.
In a large bowl, combine onion & garlic mixture with beans, spinach, chiles, spices and season with salt to taste.
Spray a 13 by 9 glass baking dish with Pam
Heat corn tortillas for 30 seconds, 2 at a time. Scoop filling into tortillas and wrap. Place sealed side down in pan. Continue to all tortillas & filling are gone.
Pour enchilada sauce on top. Sprinkle cheese on top.
Bake for 30 minutes.