Adjustments for failing specs

This commit is contained in:
Matt-Yorkley
2017-09-20 11:24:13 +01:00
committed by Rob Harrington
parent a066c6391d
commit 9248ac05ac
6 changed files with 12 additions and 11 deletions

View File

@@ -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", ->