summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://jneen.net/ <jneen@jneen.net>2016-06-21 13:12:21 -0700
committerhttp://jneen.net/ <jneen@jneen.net>2016-07-14 10:08:16 -0700
commit734ed9c59a486651820907051fbee149898f01e4 (patch)
tree19bc4dfcfd4d8c3897452168ea7e9a1184f1954c
parent2f0b29227d15bc30b2f13ee415ba83d052fd7f68 (diff)
downloadgitlab-ce-734ed9c59a486651820907051fbee149898f01e4.tar.gz
expect final newlines from the banzai filter
-rw-r--r--spec/helpers/events_helper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/events_helper_spec.rb b/spec/helpers/events_helper_spec.rb
index c0d2be98e85..6b5e3d93d48 100644
--- a/spec/helpers/events_helper_spec.rb
+++ b/spec/helpers/events_helper_spec.rb
@@ -57,7 +57,7 @@ describe EventsHelper do
expected = '<pre class="code highlight js-syntax-highlight ruby">' \
"<code><span class=\"k\">def</span> <span class=\"nf\">test</span>\n" \
" <span class=\"s1\">\'hello world\'</span>\n" \
- "<span class=\"k\">end</span>" \
+ "<span class=\"k\">end</span>\n" \
'</code></pre>'
expect(helper.event_note(input)).to eq(expected)
end