From f0b070c3daa430014e03417ecb2c350ccdb5d211 Mon Sep 17 00:00:00 2001 From: Jason Garber Date: Sat, 27 Nov 2010 06:40:31 -0600 Subject: [PATCH] Fill in expected value on jruby test. --- spec/jruby_spec.rb | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/spec/jruby_spec.rb b/spec/jruby_spec.rb index d36318c4..4127b8c6 100644 --- a/spec/jruby_spec.rb +++ b/spec/jruby_spec.rb @@ -2,6 +2,7 @@ describe RedCloth do + # FIXME: temporary test to isolate some JRuby problems it "should strip carriage returns" do input = <<-EOD
html_block
@@ -19,8 +20,16 @@ Another p. EOD - html = "" - RedCloth.new(input).to_html.should == html + html = <<-EOD +
html_block
+

Heading

+

standalone_html coming up.

+
+

Another p

+
test
+

Another p.

+ EOD + RedCloth.new(input).to_html.should == html.strip end end