remove console.log; instantiate a page for jasmine tests

This commit is contained in:
Maxwell Salzberg 2011-09-03 12:17:08 -07:00
parent eb6263084e
commit 722a2a86ea
2 changed files with 2 additions and 1 deletions

View file

@ -15,7 +15,6 @@
this.expandLikes = function(evt) {
evt.preventDefault();
console.log("called again");
if(self.likesList.children().length == 0) {
self.loadingImage.appendTo(self.likesContainer);

View file

@ -7,6 +7,8 @@ describe("ContentUpdater", function() {
describe("addPostToStream", function() {
beforeEach(function() {
spec.loadFixture("aspects_index");
Diaspora.Page = "AspectsIndex";
Diaspora.instantiatePage();
});
it("adds a post to the stream", function() {