spec/specs/follow_spec.rb in mongoid_follow-0.2.0 vs spec/specs/follow_spec.rb in mongoid_follow-0.2.1
- old
+ new
@@ -124,15 +124,16 @@
@alec.follow(@clyde)
@bonnie.common_followees_with(@alec).should == [@gang, @clyde]
end
+ # Duh... this is a useless spec... Hrmn...
it "should respond on callbacks" do
@bonnie.respond_to?('after_follow').should be_true
- @bonnie.respond_to?('after_unfollowed').should be_true
+ @bonnie.respond_to?('after_unfollowed_by').should be_true
@bonnie.respond_to?('before_follow').should be_false
- @gang.respond_to?('before_followed').should be_true
- @gang.respond_to?('after_followed').should be_false
+ @gang.respond_to?('before_followed_by').should be_true
+ @gang.respond_to?('after_followed_by').should be_false
end
end
end