From 1b986f2266ba4a6d35f9b7ee4a688e8ad9080d03 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Wed, 20 Jul 2016 14:10:42 +0800 Subject: [PATCH] Fix the build. --- plugins/discourse-details/spec/components/pretty_text_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/discourse-details/spec/components/pretty_text_spec.rb b/plugins/discourse-details/spec/components/pretty_text_spec.rb index b9b91ea77..5c2ad81e1 100644 --- a/plugins/discourse-details/spec/components/pretty_text_spec.rb +++ b/plugins/discourse-details/spec/components/pretty_text_spec.rb @@ -4,7 +4,7 @@ require 'pretty_text' describe PrettyText do it "supports details tag" do - cooked_html = "
foo\n\n

bar

\n\n

" + cooked_html = "
foo\n\n

bar

\n\n
" expect(PrettyText.cook("
foobar
")).to match_html(cooked_html) expect(PrettyText.cook("[details=foo]bar[/details]")).to match_html(cooked_html) end