diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-11-06 14:52:22 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-11-06 14:52:22 +0000 |
commit | e3c3f5a6d04bfbc0256010e9fb4dad7616ebbcc5 (patch) | |
tree | 25716cfbd85da66da6af8732d858780c82f56401 /syweb/webclient/test/unit/model-service.spec.js | |
parent | Use mRoomName on join notifications as well. (diff) | |
download | synapse-e3c3f5a6d04bfbc0256010e9fb4dad7616ebbcc5.tar.xz |
Swap from using raw m.room.member events for room members to using actual RoomMember objects, so User objects can be tacked on. Update tests.
Diffstat (limited to 'syweb/webclient/test/unit/model-service.spec.js')
-rw-r--r-- | syweb/webclient/test/unit/model-service.spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syweb/webclient/test/unit/model-service.spec.js b/syweb/webclient/test/unit/model-service.spec.js index 2e012efe90..e2fa8ceba3 100644 --- a/syweb/webclient/test/unit/model-service.spec.js +++ b/syweb/webclient/test/unit/model-service.spec.js @@ -25,6 +25,6 @@ describe('ModelService', function() { }); var user = modelService.getMember(roomId, userId); - expect(user.state_key).toEqual(userId); + expect(user.event.state_key).toEqual(userId); })); }); |