X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e204e1d178242c450ca0db46724dc9d7e5e11665..6892ccd0155b431cc567b4744b1e2759df3e8c68:/test/models/issue_comment_test.rb diff --git a/test/models/issue_comment_test.rb b/test/models/issue_comment_test.rb index 27fa9d66d..7a1191ead 100644 --- a/test/models/issue_comment_test.rb +++ b/test/models/issue_comment_test.rb @@ -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