Heat oil in a sauce pan over medium heat. Add chopped onion and sauté until translucent. Add smashed garlic cloves, bay leaf, tomatoes, beans, spinach, salt and pepper and simmer for about 10 minutes. Serve over rice and sprinkle with parmesan cheese.