Fixed change user name test

This commit is contained in:
Peter 'Pita' Martischka 2012-11-03 22:36:36 +00:00
parent f30300d6fd
commit 922e47f8bd

View file

@ -53,9 +53,9 @@ describe("change username value", function(){
var $firstChatMessage = chrome$("#chattext").children("p"); var $firstChatMessage = chrome$("#chattext").children("p");
var containsJohnMcLear = $firstChatMessage.text().indexOf("John McLear") !== -1; // does the string contain John McLear var containsJohnMcLear = $firstChatMessage.text().indexOf("John McLear") !== -1; // does the string contain John McLear
expect(containsJohnMcLear).to.be(true); // expect the first chat message to contain JohnMcLear expect(containsJohnMcLear).to.be(true); // expect the first chat message to contain JohnMcLear
});
done(); done();
}); });
});
it("make sure the username has stuck when we create a new pad", function(done){ it("make sure the username has stuck when we create a new pad", function(done){
var inner$ = helper.padInner$; var inner$ = helper.padInner$;