Heat the olive oil in a large pan over medium-high heat.
Add the onion and garlic in the oil until they become tender.
Add the mushrooms, and fry until they begin to shrink, about 3 to 4 minutes.
Toss in the spinach, stirring constantly for a few minutes, or until spinach is wilted.
Season with salt and pepper to taste.