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