 
     context 'the promisified functions on the exchange', ->
 
-        before (done, Mesh) ->
+        before (done, bluebird, Mesh) ->
 
             @timeout 2000
 


            .catch done

            


                                a: arg1
                                b: arg2
                                c: arg3


                        func3: (arg1, arg2, arg3, $happn, arg4, callback) ->

                            # handle possible promises (or not) in the inbound args

                            bluebird.Promise.all([arg1, arg2, arg3, arg4])

                            .spread (arg1, arg2, arg3, arg4) ->

                                callback null,

                                    a: arg1
                                    b: arg2
                                    c: arg3
                                    d: arg4

                            .catch callback # send error back



                components: test: {}

