Fixing a minor regression

This commit is contained in:
Will Marshall
2014-06-19 12:10:05 +10:00
parent 4684c92c6e
commit a7f4256897
5 changed files with 6 additions and 9 deletions

View File

@@ -18,4 +18,4 @@ describe 'ProductsCtrl', ->
ctrl = $controller 'ProductsCtrl', {$scope: scope, Product: Product, OrderCycle: OrderCycle}
it 'fetches products from Product', ->
expect(scope.products).toEqual 'testy mctest'
expect(scope.Product.products).toEqual 'testy mctest'