greinacker/spree — pull request #1 by greinacker (2012-09-05 21:43:36+00:00)
Title: Multiple promotions incorrectly applied

In 1.2.0, if you have multiple eligible promotions, they will all be applied. For example, if I have two simple promos:

10% off orders over $100
20% off orders over $200

If I then build an order for $400, both promotions will apply for a total of 30% off.

The attached code fixes this. The change that broke looks like it was originally added by @radar in 10458f5f2092ccc003cc828244b39ad3a077f12a