Sauté onion and sausage in a stock pot, drain. Add tomatoes and cook a couple minutes longer. Add broth, squash, thyme, salt, pepper, and bring to a boil. Reduce the heat and simmer until the squash is tender, about 15-20 minutes. Stir in the beans and spinach and cook until the spinach is wilted and the beans are heated through.