3 class IssueCommentTest < ActiveSupport::TestCase
 
   4   test "body must be present" do
 
   5     comment = build(:issue_comment, :body => "")
 
   6     assert_not comment.valid?
 
   7     assert_not_nil comment.errors[:body]
 
  11     comment = create(:issue_comment)
 
  12     assert_instance_of(RichText::Markdown, comment.body)