spec/models/group.rb in mongoid_follow-0.2.0 vs spec/models/group.rb in mongoid_follow-0.2.1
- old
+ new
@@ -2,13 +2,13 @@
include Mongoid::Document
include Mongoid::Followee
field :name
- def before_followed
+ def before_followed_by(follower)
# before followee is followed
end
- def before_unfollowed
+ def before_unfollowed_by(follower)
# before followee is unfollowed
end
end
\ No newline at end of file