Permalink
Browse files

Added forgotten test

  • Loading branch information...
1 parent dd7c00c commit 892b9df6a18e4b0d14908c634e0df1826af723e7 @cmer committed Mar 1, 2012
Showing with 14 additions and 0 deletions.
  1. +14 −0 test/mention_test.rb
View
@@ -116,6 +116,20 @@ class MentionTest < Test::Unit::TestCase
end
end
+ context "Virgin ActiveRecord::Base objects" do
+ setup do
+ @foo = Vanilla.new
+ end
+
+ should "not be mentioner" do
+ assert_false @foo.is_mentioner?
+ end
+
+ should "not be mentionable" do
+ assert_false @foo.is_mentionable?
+ end
+ end
+
context "Single Table Inheritance" do
setup do
@mentioner = ImAMentioner.create

0 comments on commit 892b9df

Please sign in to comment.