         expect(scope.displayFailure).toHaveBeenCalled()
 
 
-  describe 'fetching products without derived attributes', ->
-    it 'returns products without the variant_unit_with_scale field', ->
+  describe "fetching products without derived attributes", ->
+    it "returns products without the variant_unit_with_scale field", ->
       scope.products = [{id: 123, variant_unit_with_scale: 'weight_1000'}]
       expect(scope.productsWithoutDerivedAttributes()).toEqual([{id: 123}])
 
-    it 'returns an empty array when products are undefined', ->
+    it "returns an empty array when products are undefined", ->
       expect(scope.productsWithoutDerivedAttributes()).toEqual([])
 
-    it 'does not alter products', ->
+    it "does not alter products", ->
       scope.products = [{id: 123, variant_unit_with_scale: 'weight_1000'}]
       scope.productsWithoutDerivedAttributes()
       expect(scope.products).toEqual [{id: 123, variant_unit_with_scale: 'weight_1000'}]


        scope.submitProducts()

      it 'packs all products and all dirty products', ->
        expect(scope.packProduct.calls.length).toEqual 4

      it "filters returned dirty products", ->

      price: 10
    ]

  it "returns variant_unit_with_scale as variant_unit and variant_unit_scale", ->
    testProduct =
      id: 1
      variant_unit: 'weight'
