Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix id-dependant promotion code spec failure
This spec wasn't testing what it was intending to. The "code" it was submitting wasn't a string, but a Spree::PromotionCode record. Our route helper helpfully called to_param to submit the PromotionCode's id. This spec only passed when the promotion_code id matched the promotion id.
- Loading branch information