-{{/if}}
-
{{# if reshares}}
diff --git a/spec/javascripts/app/models/post_spec.js b/spec/javascripts/app/models/post_spec.js
index 6d9f75070..90dbca87c 100644
--- a/spec/javascripts/app/models/post_spec.js
+++ b/spec/javascripts/app/models/post_spec.js
@@ -75,43 +75,4 @@ describe("app.models.Post", function() {
expect(app.models.Like.prototype.destroy).toHaveBeenCalled();
})
})
-
- describe("toggleFollow", function(){
- it("calls unfollow when the user_participation exists", function(){
- this.post.set({user_participation: "123"});
- spyOn(this.post, "unfollow").andReturn(true);
-
- this.post.toggleFollow();
- expect(this.post.unfollow).toHaveBeenCalled();
- })
-
- it("calls follow when the user_participation does not exist", function(){
- this.post.set({user_participation: null});
- spyOn(this.post, "follow").andReturn(true);
-
- this.post.toggleFollow();
- expect(this.post.follow).toHaveBeenCalled();
- })
- })
-
- describe("follow", function(){
- it("calls create on the participations collection", function(){
- spyOn(this.post.participations, "create");
-
- this.post.follow();
- expect(this.post.participations.create).toHaveBeenCalled();
- })
- })
-
- describe("unfollow", function(){
- it("calls destroy on the participations collection", function(){
- var participation = new app.models.Participation();
- this.post.set({user_participation : participation.toJSON()})
-
- spyOn(app.models.Participation.prototype, "destroy");
-
- this.post.unfollow();
- expect(app.models.Participation.prototype.destroy).toHaveBeenCalled();
- })
- })
});