Explorar o código

Fix failing test

JC Brand %!s(int64=7) %!d(string=hai) anos
pai
achega
71c12c385a
Modificáronse 1 ficheiros con 1 adicións e 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();
                 });
             }));