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