From 30efd02d22c0b47948c17b0554805c82db6696b8 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 15 Sep 2017 15:57:37 +0100 Subject: [PATCH] Fix test for new behaviour of 'joining' flag It's no longer reset when the join request completes, so don't assert it. (The important test is later, asserting that the room object is non-null). --- test/app-tests/joining.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/app-tests/joining.js b/test/app-tests/joining.js index 9e0a84c77..c37fde6a7 100644 --- a/test/app-tests/joining.js +++ b/test/app-tests/joining.js @@ -176,9 +176,6 @@ describe('joining a room', function () { return Promise.delay(1); }).then(() => { - // We've joined, expect this to false - expect(roomView.state.joining).toBe(false); - // now send the room down the /sync pipe httpBackend.when('GET', '/sync'). respond(200, {