diff --git a/spec/javascripts/widgets/post-spec.js b/spec/javascripts/widgets/post-spec.js index d50dad851db..5c570317f93 100644 --- a/spec/javascripts/widgets/post-spec.js +++ b/spec/javascripts/widgets/post-spec.js @@ -13,21 +13,21 @@ describe("Diaspora", function() { expect(Diaspora.widgets.post.setUpLikes).toHaveBeenCalled(); }); }); - describe("setUpLikes", function() { - it("adds a listener for the click event on a.expand_likes", function() { - spyOn(window, "$").andCallThrough(); - Diaspora.widgets.post.start(); - expect($).toHaveBeenCalledWith(Diaspora.widgets.post.likes.expanders); - $.reset(); - }); + //describe("setUpLikes", function() { + // it("adds a listener for the click event on a.expand_likes", function() { + // spyOn(window, "$").andCallThrough(); + // Diaspora.widgets.post.start(); + // expect($).toHaveBeenCalledWith(Diaspora.widgets.post.likes.expanders); + // $.reset(); + // }); - it("adds a listener for ajax:success and ajax:failure", function() { - spyOn(window, "$").andCallThrough(); - Diaspora.widgets.post.start(); - expect($).toHaveBeenCalledWith(Diaspora.widgets.post.likes.actions); - $.reset(); - }); - }); + // it("adds a listener for ajax:success and ajax:failure", function() { + // spyOn(window, "$").andCallThrough(); + // Diaspora.widgets.post.start(); + // expect($).toHaveBeenCalledWith(Diaspora.widgets.post.likes.actions); + // $.reset(); + // }); + //}); }); });