Starting to prettify

This commit is contained in:
Will Marshall
2013-12-12 10:28:43 +11:00
parent 8f41078c0c
commit 36694822db
5 changed files with 8 additions and 11 deletions

View File

@@ -21,10 +21,6 @@ describe 'All controllers', ->
it 'Fetches products from Product', ->
expect(scope.data).toEqual 'testy mctest'
#it "updates products when the changeOrderCycle event is seen", ->
#spyOn(scope, "updateProducts")
#rootScope.$emit "changeOrderCycle"
#expect(scope.updateProducts).toHaveBeenCalled()
describe 'OrderCycleCtrl', ->
ctrl = null
@@ -42,7 +38,3 @@ describe 'All controllers', ->
scope = $rootScope.$new()
ctrl = $controller 'OrderCycleCtrl', {$scope: scope}
#it "triggers an event when the order cycle changes", ->
#spyOn(rootScope, "$emit")
#scope.changeOrderCycle()
#expect(scope.$emit).toHaveBeenCalledWith "changeOrderCycle"