summaryrefslogtreecommitdiff
path: root/spec/helpers
diff options
context:
space:
mode:
authorHiroyuki Sato <h-sato@ruby-dev.jp>2016-10-27 10:47:14 +0900
committerHiroyuki Sato <h-sato@ruby-dev.jp>2016-11-04 14:05:49 +0900
commitbea83d2579ca3b8ca48802f5c114cea60bce396e (patch)
treef48daeca9f352b989c4c6084af7721c07dab839c /spec/helpers
parent3a8a7c1251cef4098ffbc54718ba21736c5e2800 (diff)
downloadgitlab-ce-bea83d2579ca3b8ca48802f5c114cea60bce396e.tar.gz
Remove an extra leading space from diff content
Diffstat (limited to 'spec/helpers')
-rw-r--r--spec/helpers/diff_helper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/diff_helper_spec.rb b/spec/helpers/diff_helper_spec.rb
index 9c7c79f57c6..837e7afa7e8 100644
--- a/spec/helpers/diff_helper_spec.rb
+++ b/spec/helpers/diff_helper_spec.rb
@@ -61,7 +61,7 @@ describe DiffHelper do
describe '#diff_line_content' do
it 'returns non breaking space when line is empty' do
- expect(diff_line_content(nil)).to eq(' &nbsp;')
+ expect(diff_line_content(nil)).to eq('&nbsp;')
end
it 'returns the line itself' do