Heat the oil in a medium pot over medium heat. Add the onion and sautee until tender then add the garlic and sautee until soft.
Add the basil and smoked paprika. Stir for just a couple seconds to release the flavour but no more than that because paprika can burn easily.
Add the white wine and allow to simmer for about 2 minutes to evaporate the alcohol.
Add the tomatoes. If using whole tomatoes, break them up with your spoon into chunks then add the stock and potatoes. Bring to a simmer then cover and reduce the heat to low. Simmer until the potatoes are tender, stirring from time to time to make sure it’s not sticking - about 15 minutes.
Uncover and add the beans, spinach, salt and pepper. Simmer for a couple more minutes to heat the beans through and wilt the spinach.
Serve garnished with fresh basil if desired.