+ def test_markdown_to_text
+ r = RichText.new("markdown", "foo [bar](http://example.com/) baz")
+ assert_equal "foo [bar](http://example.com/) baz", r.to_text
+ end
+
+ def test_markdown_spam_score
+ r = RichText.new("markdown", "foo [bar](http://example.com/) baz")
+ assert_equal 50, r.spam_score.round
+ end
+