summaryrefslogtreecommitdiff
path: root/spec/services/issues
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@gitlab.com>2017-03-08 00:55:50 +0100
committerBob Van Landuyt <bob@gitlab.com>2017-03-13 08:27:51 +0100
commit5eee47758ccba75e2d1d7fa1c30b98a4c2820108 (patch)
tree3a9ffd12a641f76b97b155ad167fbdbcff009f1a /spec/services/issues
parent52c0195dccb7057dab5ecce74d2095ddb80c1b53 (diff)
downloadgitlab-ce-5eee47758ccba75e2d1d7fa1c30b98a4c2820108.tar.gz
Correctly indent quotes in new issue description
By using `>`-quote style instead of `>>>`. Also: Update documentation images.
Diffstat (limited to 'spec/services/issues')
-rw-r--r--spec/services/issues/build_service_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/services/issues/build_service_spec.rb b/spec/services/issues/build_service_spec.rb
index 76417279923..79b093e51fb 100644
--- a/spec/services/issues/build_service_spec.rb
+++ b/spec/services/issues/build_service_spec.rb
@@ -57,11 +57,11 @@ describe Issues::BuildService, services: true do
"with a blockquote\n"\
"> That has a quote\n"\
">>>\n"
- note_result = "This is a string\n"\
- "> with a blockquote\n"\
- "> > That has a quote\n"
+ note_result = " > This is a string\n"\
+ " > > with a blockquote\n"\
+ " > > > That has a quote\n"
discussion = Discussion.new([create(:diff_note_on_merge_request, note: note_text)])
- expect(service.item_for_discussion(discussion)).to include(">>>\n#{note_result}\n>>>")
+ expect(service.item_for_discussion(discussion)).to include(note_result)
end
end