Cook the pasta until it is almost al dente (a little hard, not completely cooked) making sure there is plenty of water in the pot. Remove some water, but reserve to use later, if needed. I usually try to make the water level with the pasta. Add the beans, and stir to heat through (keep the burner on).