spec/models/user.rb in mongoid_follow-0.2.0 vs spec/models/user.rb in mongoid_follow-0.2.1

- old
+ new

@@ -3,13 +3,17 @@ include Mongoid::Followee include Mongoid::Follower field :name - def after_follow + def after_follow(followee) # after follower follows end - def after_unfollowed + def after_followed_by(follower) + # after followee is followed + end + + def after_unfollowed_by(followee) # after follower unfollows end end \ No newline at end of file