2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-08 12:06:51 +08:00
This commit is contained in:
Sam 2014-12-04 09:35:11 +11:00
parent 665ff94ff7
commit 8977d5917b
15 changed files with 10667 additions and 13458 deletions

View file

@ -233,7 +233,7 @@ test("storePost", function() {
var postWithoutId = Discourse.Post.create({raw: 'hello world'});
stored = postStream.storePost(postWithoutId);
equal(stored, postWithoutId, "it returns the same post back");
equal(postStream.get('postIdentityMap.size'), 1, "it does not add a new entry into the identity map");
equal(postStream.get('postIdentityMap.length'), 1, "it does not add a new entry into the identity map");
});