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:
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user