X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/550c4a3a45814fde5c809334c85f1ebc47659a82..9169a28c6b2eec43ced9fdf88d30bdb3232188c3:/test/models/report_test.rb diff --git a/test/models/report_test.rb b/test/models/report_test.rb index d172ff7db..64ccf501d 100644 --- a/test/models/report_test.rb +++ b/test/models/report_test.rb @@ -32,4 +32,9 @@ class ReportTest < ActiveSupport::TestCase report.category = "" assert_not report.valid? end + + def test_details + report = create(:report) + assert_instance_of(RichText::Markdown, report.details) + end end