check the tag so that an instance will pass too

This commit is contained in:
http://jneen.net/ 2016-06-16 11:20:57 -07:00
parent cd9bea770b
commit 5415c67424
1 changed files with 1 additions and 1 deletions

View File

@ -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