Break up the sausage and put in a cold pan. Turn on the heat to medium and let sausages render their fat.
Once the sausages start frying and they have released some fat/oil, add the onions and fry until softened.
Add the garlic and chilies.
Deglaze the pan with the red wine vinegar, using a wooden spoon and stirring to get the brown bits on the bottom.
Add the mushrooms and spinach. Mix them around until the spinach has wilted and the mushrooms are cooked.
Add the baked beans. Fill one can half way with water and swirl out the can into the pot. Mix well.
Let the beans come to a bubble and reduce heat to a simmer. Add salt and pepper to taste.
Let simmer for 20 minutes.