Boil the corn, cut the kernels of the green corn cob. Boil the corn with beans, until soft.
Peel and wash the potatoes, and add to the corn the beans, along with the chopped spinach.
Boil together until the potatoes are soft. Season with salt and pepper and mash.