]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/issue_comment_test.rb
Bump eslint from 8.53.0 to 8.54.0
[rails.git] / test / models / issue_comment_test.rb
index 27fa9d66d878bbfeeee918ee6a3a6edd9c14196d..7a1191ead0052653ebf49bd9da8310dea0e36eb6 100644 (file)
@@ -6,4 +6,9 @@ class IssueCommentTest < ActiveSupport::TestCase
     assert_not comment.valid?
     assert_not_nil comment.errors[:body]
   end
+
+  test "body" do
+    comment = create(:issue_comment)
+    assert_instance_of(RichText::Markdown, comment.body)
+  end
 end