]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/report_test.rb
Merge remote-tracking branch 'upstream/pull/4274'
[rails.git] / test / models / report_test.rb
index d172ff7db97ace0a81c10b953661ea105913903c..64ccf501d924f09f00f1e1a2c9d218e783e880ef 100644 (file)
@@ -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