Explorar el Código

Fix failing test

JC Brand hace 7 años
padre
commit
71c12c385a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      spec/chatroom.js

+ 1 - 1
spec/chatroom.js

@@ -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();
                 });
             }));