mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-14 04:04:23 +00:00
Adjustments for failing specs
This commit is contained in:
committed by
Rob Harrington
parent
a066c6391d
commit
9248ac05ac
@@ -10,14 +10,17 @@ describe "enterpriseCtrl", ->
|
||||
enterprise =
|
||||
is_primary_producer: true
|
||||
sells: "none"
|
||||
owner:
|
||||
id: 98
|
||||
PaymentMethods =
|
||||
paymentMethods: "payment methods"
|
||||
ShippingMethods =
|
||||
shippingMethods: "shipping methods"
|
||||
receivesNotifications = 99
|
||||
|
||||
inject ($rootScope, $controller) ->
|
||||
scope = $rootScope
|
||||
ctrl = $controller 'enterpriseCtrl', {$scope: scope, enterprise: enterprise, EnterprisePaymentMethods: PaymentMethods, EnterpriseShippingMethods: ShippingMethods}
|
||||
ctrl = $controller 'enterpriseCtrl', {$scope: scope, enterprise: enterprise, EnterprisePaymentMethods: PaymentMethods, EnterpriseShippingMethods: ShippingMethods, receivesNotifications: receivesNotifications}
|
||||
|
||||
describe "initialisation", ->
|
||||
it "stores enterprise", ->
|
||||
|
||||
Reference in New Issue
Block a user