Starting to rework checkout Login links

This commit is contained in:
Will Marshall
2014-04-08 14:34:50 +10:00
parent f2157e0356
commit a4cba99de6
5 changed files with 19 additions and 13 deletions

View File

@@ -6,6 +6,9 @@ describe "CheckoutCtrl", ->
beforeEach ->
module("Darkswarm")
order = {}
inject ($controller) ->
scope = {}
inject ($controller, $rootScope) ->
scope = $rootScope.$new()
ctrl = $controller 'CheckoutCtrl', {$scope: scope, Order: order}
it "defaults the user accordion to visible", ->
expect(scope.user).toEqual true