require 'test/unit' class ActsAsContactableTest < Test::Unit::TestCase def setup @post = Post.create( :title=>'Hola Mundo',:body=>'Este es el texto de este post') end # Replace this with your real tests. def test_post assert @post.valid? end end