From 5fd0ea2f6fe2ffd73b3dffbef24069b6f53b9fb6 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Wed, 20 Jan 2016 23:56:16 +0000 Subject: [PATCH] fix test --- spec/unit/room.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/unit/room.spec.js b/spec/unit/room.spec.js index 9e02ea111..88b22e6da 100644 --- a/spec/unit/room.spec.js +++ b/spec/unit/room.spec.js @@ -597,13 +597,13 @@ describe("Room", function() { expect(name).toEqual(roomName); }); - it("should show your name for private (invite join_rules) rooms if" + + it("should return 'Empty room' for private (invite join_rules) rooms if" + " a room name and alias don't exist and it is a self-chat.", function() { setJoinRule("invite"); addMember(userA); room.recalculate(userA); var name = room.name; - expect(name).toEqual(userA); + expect(name).toEqual("Empty room"); }); it("should show your name for public (public join_rules) rooms if a" +