]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/issue_comment_test.rb
add lock, information and water classes for nominatim terms
[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
     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
 end