     ctrl = $controller
     timeout = $timeout
     httpBackend = $httpBackend
+
+    ctrl "AdminBulkProductsCtrl", {$scope: scope, $timeout: timeout}
   )
 
   describe "loading data upon initialisation", ->
-    beforeEach ->
-      ctrl "AdminBulkProductsCtrl",
-        $scope: scope
-
     it "gets a list of suppliers and then resets products with a list of data", ->
       httpBackend.expectGET("/api/users/authorise_api?token=api_key").respond success: "Use of API Authorised"
       httpBackend.expectGET("/api/enterprises/managed?template=bulk_index&q[is_primary_producer_eq]=true").respond "list of suppliers"



  describe "cloning products", ->
    beforeEach ->
      ctrl "AdminBulkProductsCtrl",
        $scope: scope


    it "clones products using a http get request to /admin/products/(permalink)/clone.json", ->
      scope.products = [
        id: 13


  describe "resetting products", ->
    beforeEach ->
      spyOn scope, "unpackProduct"
      scope.products = {}
      scope.resetProducts [
