fix dependency on current spree master
added method and fixed spec that was lost in the merge.