- Put a large pot of water on to boil. Mash 1/2 cup beans in a small bowl with a fork. Heat oil in a medium saucepan over medium heat. Add onion, carrot, celery and salt; cover and cook, stirring occasionally, until softened, about 10 minutes.
- Add garlic and bay leaf; cook, stirring until fragrant. Add wine and increase heat to high and boil until most of the liquid evaporates. Add tomatoes and their juices, 2 tbsp parsley and the mashed beans.
- Bring to a lively simmer and cook, stirring occasionally, until thickened. Add the remaining whole beans; cook, stirring occasionally, until heated through. Meanwhile, cook pasta in the boiling water until just tender. Drain.
- Divide the pasta among 4 bowls. Discard the bay leaf and top the pasta with the sauce; sprinkle with parmesan and the remaining parsley.