Fix failing test

This commit is contained in:
JC Brand 2018-05-09 15:02:10 +02:00
parent 19a2fb17ad
commit 71c12c385a

View File

@ -1716,7 +1716,7 @@
);
$occupants = $(view.el.querySelector('.occupant-list'));
expect($occupants.children().length).toBe(1);
expect($occupants.children().first(0).text()).toBe("newnick");
expect($occupants.children().find('.occupant-nick').first(0).text()).toBe("newnick");
done();
});
}));