Fix the build.

This commit is contained in:
Guo Xiang Tan
2019-05-13 10:16:17 +08:00
parent 8165ceb320
commit 9059a8ca90

View File

@ -83,7 +83,7 @@ describe PostsController do
end end
it "should have at most 'SiteSetting.poll_maximum_options' options" do it "should have at most 'SiteSetting.poll_maximum_options' options" do
raw = "[poll]\n" raw = +"[poll]\n"
(SiteSetting.poll_maximum_options + 1).times { |n| raw << "\n- #{n}" } (SiteSetting.poll_maximum_options + 1).times { |n| raw << "\n- #{n}" }
raw << "\n[/poll]" raw << "\n[/poll]"