summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab
diff options
context:
space:
mode:
authorhttp://jneen.net/ <jneen@jneen.net>2016-06-16 11:20:57 -0700
committerhttp://jneen.net/ <jneen@jneen.net>2016-06-27 14:17:49 -0700
commit5415c674241d8c73d7a2cf3c52d2cc1158ae5134 (patch)
treebe5b483221518e2b5e694ed1b507a3b6ee86e8b2 /spec/lib/gitlab
parentcd9bea770bd8a1e4b6590ba93a15f4ff75529f11 (diff)
downloadgitlab-ce-5415c674241d8c73d7a2cf3c52d2cc1158ae5134.tar.gz
check the tag so that an instance will pass too
Diffstat (limited to 'spec/lib/gitlab')
-rw-r--r--spec/lib/gitlab/highlight_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/highlight_spec.rb b/spec/lib/gitlab/highlight_spec.rb
index 9c54e53f402..89e4888e1c9 100644
--- a/spec/lib/gitlab/highlight_spec.rb
+++ b/spec/lib/gitlab/highlight_spec.rb
@@ -31,7 +31,7 @@ describe Gitlab::Highlight, lib: true do
before { project.change_head('gitattributes') }
it 'highlights as ruby' do
- expect(highlighter.lexer).to be Rouge::Lexers::Ruby
+ expect(highlighter.lexer.tag).to eq 'ruby'
end
end
end