summaryrefslogtreecommitdiff
path: root/spec/helpers/events_helper_spec.rb
diff options
context:
space:
mode:
authorStefan Tatschner <stefan@sevenbyte.org>2015-01-15 12:19:34 +0100
committerStefan Tatschner <stefan@sevenbyte.org>2015-01-15 14:01:12 +0100
commit089516209c0c9c618b359aaa59e26395e2f67405 (patch)
tree06711c06c02b6dd7d279ce5416c19045cf88ad5c /spec/helpers/events_helper_spec.rb
parentbf079c24afb8ad2991a4eaf60a71a7bc45dd775d (diff)
downloadgitlab-ce-089516209c0c9c618b359aaa59e26395e2f67405.tar.gz
Fixed tests
Diffstat (limited to 'spec/helpers/events_helper_spec.rb')
-rw-r--r--spec/helpers/events_helper_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/helpers/events_helper_spec.rb b/spec/helpers/events_helper_spec.rb
index 4de54d291f2..c4a192ac1aa 100644
--- a/spec/helpers/events_helper_spec.rb
+++ b/spec/helpers/events_helper_spec.rb
@@ -26,7 +26,8 @@ describe EventsHelper do
it 'should display the first line of a code block' do
input = "```\nCode block\nwith two lines\n```"
- expected = '<pre><code class="">Code block...</code></pre>'
+ expected = '<pre class="code highlight white plaintext"><code>' \
+ 'Code block...</code></pre>'
expect(event_note(input)).to match(expected)
end