     update = @utils.actionsMapDeliveries(delta, orderChanged)
 
     action = JSON.parse(JSON.stringify(orderChanged.shippingInfo.deliveries[0]))
-    action["action"] = "addDelivery"
+    action.action = "addDelivery"
 
     expect(update).toEqual [action]
 
-  it "should return required action for syncing parcels (deliveries)", ->
+  it 'should return required action for syncing parcels (deliveries)', ->
 
     orderChanged = _.deepClone ORDER
 

    update = @utils.actionsMapReturnInfo(delta, orderChanged)

    action = _.deepClone orderChanged.returnInfo[0]
    action['action'] = 'addReturnInfo'

    expect(update).toEqual [action]


    delta = @utils.diff(@order, orderChanged)
    update = @utils.actionsMapDeliveries(delta, orderChanged)

    expectedUpdate = _.deepClone parcel
    expectedUpdate.action = 'addParcelToDelivery'
    expectedUpdate.deliveryId = orderChanged.shippingInfo.deliveries[0].id

