 
   describe 'preparing products', ->
     beforeEach ->
-      ctrl "AdminBulkProductsCtrl",
-        $scope: scope
       spyOn scope, "matchSupplier"
       spyOn scope, "loadVariantUnit"
 



  describe "getting on_hand counts when products have variants", ->
    beforeEach ->
      ctrl "AdminBulkProductsCtrl",
        $scope: scope

    p1 = undefined
    p2 = undefined
    p3 = undefined



    describe "updating products", ->
      it "submits products to be updated with a http post request to /admin/products/bulk_update", ->
        httpBackend.expectPOST("/admin/products/bulk_update").respond "list of products"
        scope.updateProducts "list of products"
