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).
This commit is contained in:
David Baker 2017-09-15 15:57:37 +01:00
parent f148844573
commit 30efd02d22

View file

@ -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, {