citrus/spree_wholesale — Issue #11: Issues with edit/update
Author: tavon
Created: 2012-01-25 02:50:06+00:00
State: open

SpreeWholesale::WholesalerController feels really brittle and needs to be refactored.

Currently, only new/create and edit/update is testing only for admin::wholesalers_controller. Adding a new wholesaler works well, but when I try to update a wholesaler, it fails pretty consistently. I believe the issues is with the Address models failing to update & associate with the Wholesaler object in #update...

We definitely need to add some more tests around the wholesalers controllers and should refactor it as well.