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