Commit 71c12c38 authored by JC Brand's avatar JC Brand

Fix failing test

parent 19a2fb17
......@@ -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();
});
}));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment