BigW Consortium Gitlab

Commit e9f19190 by http://jneen.net/

apparently this gets encoded now?

parent f82287e2
...@@ -67,7 +67,7 @@ describe Gitlab::Diff::Highlight, lib: true do ...@@ -67,7 +67,7 @@ describe Gitlab::Diff::Highlight, lib: true do
end end
it 'marks added lines' do it 'marks added lines' do
code = %Q{+ raise <span class='idiff left right'>RuntimeError, </span>"System commands must be given as an array of strings"} code = %Q{+ raise <span class='idiff left right'>RuntimeError, </span>&quot;System commands must be given as an array of strings&quot;}
expect(subject[5].text).to eq(code) expect(subject[5].text).to eq(code)
expect(subject[5].text).to be_html_safe expect(subject[5].text).to be_html_safe
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment