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).pull/5053/head
parent
f148844573
commit
30efd02d22
|
@ -176,9 +176,6 @@ describe('joining a room', function () {
|
||||||
|
|
||||||
return Promise.delay(1);
|
return Promise.delay(1);
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
// We've joined, expect this to false
|
|
||||||
expect(roomView.state.joining).toBe(false);
|
|
||||||
|
|
||||||
// now send the room down the /sync pipe
|
// now send the room down the /sync pipe
|
||||||
httpBackend.when('GET', '/sync').
|
httpBackend.when('GET', '/sync').
|
||||||
respond(200, {
|
respond(200, {
|
||||||
|
|
Loading…
Reference in New Issue