mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-22 05:18:51 +00:00
Fixing a couple of spec bugs
This commit is contained in:
@@ -11,10 +11,10 @@ Darkswarm.factory 'Order', ($resource, Product, order)->
|
||||
@shipping_methods[@shipping_method_id]
|
||||
|
||||
requireShipAddress: ->
|
||||
@shippingMethod().require_ship_address
|
||||
@shippingMethod()?.require_ship_address
|
||||
|
||||
shippingPrice: ->
|
||||
@shippingMethod().price
|
||||
@shippingMethod()?.price
|
||||
|
||||
paymentMethod: ->
|
||||
@payment_methods[@payment_method_id]
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
//= require store/spree_core
|
||||
//= require store/spree_auth
|
||||
//= require store/spree_promo
|
||||
//= require shared/angular
|
||||
//= require shared/angular-resource
|
||||
//= require angular
|
||||
//= require angular-resource
|
||||
|
||||
//= require_tree .
|
||||
|
||||
Reference in New Issue
Block a user