test/actors/mentioner_test.rb in socialization-0.5.0.beta2 vs test/actors/mentioner_test.rb in socialization-0.5.0.beta3
- old
+ new
@@ -5,12 +5,18 @@
setup do
@mentioner = ImAMentioner.new
@mentionable = ImAMentionable.create
end
- context "#is_mentioner" do
+ context "#is_mentioner?" do
should "return true" do
assert_true @mentioner.is_mentioner?
+ end
+ end
+
+ context "#mentioner?" do
+ should "return true" do
+ assert_true @mentioner.mentioner?
end
end
context "#mention!" do
should "not accept non-mentionables" do