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