X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e204e1d178242c450ca0db46724dc9d7e5e11665..ffe637f23d81a9e9ba769020ad0ffbb04a5e3a7d:/test/models/issue_comment_test.rb?ds=sidebyside 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