X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e204e1d178242c450ca0db46724dc9d7e5e11665..f816482778fad28424a4b2a151e0ba8ede2dcd97:/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