Fixed change user name test

pull/1158/merge
Peter 'Pita' Martischka 2012-11-03 22:36:36 +00:00
parent f30300d6fd
commit 922e47f8bd
1 changed files with 1 additions and 1 deletions

View File

@ -53,8 +53,8 @@ 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){