remove console.log; instantiate a page for jasmine tests
This commit is contained in:
parent
eb6263084e
commit
722a2a86ea
2 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue