diff options
Diffstat (limited to 'spec/lib/gitlab/highlight_spec.rb')
-rw-r--r-- | spec/lib/gitlab/highlight_spec.rb | 2 |
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 |