message: Mock out authedRequest
diff: @@ -13,6 +13,7 @@ function MockClient(config) {
  userId: config.userId
  };
  this._http = { opts: {} };
  + this._http.authedRequest = jasmine.createSpy("sdk.authedRequestWithPrefix()");
  this._http.authedRequestWithPrefix = jasmine.createSpy("sdk.authedRequestWithPrefix()");
  this.register = jasmine.createSpy("sdk.register(username, password)");
  this.createRoom = jasmine.createSpy("sdk.createRoom(opts)");
  @@ -39,6 +40,10 @@ function MockClient(config) {
  return Promise.resolve({});
  });
  + this._http.authedRequest.and.callFake(function() {
  + return Promise.resolve({});
  + });
  +
  this._http.authedRequestWithPrefix.and.callFake(function(a, method, endpoint) {
  if (endpoint === "/joined_rooms") {
  return Promise.resolve([]);
  