Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-06-27 23:08:39 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-07-06 02:57:09 +0300
commitd6b60e83edb755347c56e38770fcdffab9edbfa0 (patch)
treea1fe24959d98ea3220214f9afe2a4050fdafd17d /spec
parentab811b6ab929d3f220e060c15c49bc075d91e5f2 (diff)
Move `unescape_html_entities` from LabelsHelper to Label model
Diffstat (limited to 'spec')
-rw-r--r--spec/helpers/labels_helper_spec.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/helpers/labels_helper_spec.rb b/spec/helpers/labels_helper_spec.rb
index 1457eea7cb2..501f150cfda 100644
--- a/spec/helpers/labels_helper_spec.rb
+++ b/spec/helpers/labels_helper_spec.rb
@@ -77,10 +77,4 @@ describe LabelsHelper do
expect(text_color_for_bg('#000')).to eq '#FFFFFF'
end
end
-
- describe 'unescape_html_entities' do
- it 'decodes &, <, and > named entities' do
- expect(unescape_html_entities('foo &amp; bar &lt; zoo &gt; boo &eacute;')).to eq 'foo & bar < zoo > boo &eacute;'
- end
- end
end