src/spec/promissory-arbiter.spec.js
function subPubArg (topic, data, i) {
      var spy = sub(topic);
      pub(topic, data);

      var args = spy.calls.first().args;
      return typeof i === 'undefined' ? args : args[i];
    }
function subPubArg (topic, data, i) {
      var spy = sub(topic);
      pub(topic, data);

      var args = spy.calls.first().args;
      return typeof i === 'undefined' ? args : args[i];
    }
function subPubArg ( topic , data , i ) { var spy = sub ( topic ) ; pub ( topic , data ) ; var args = spy . calls . first ( ) . args ; return typeof i === 'undefined' ? args : args [ i ] ; }
Subscribes to a topic, publishes data and returns the specified arguemnts
Subscribes to a topic publishes data and returns the specified arguemnts