diff options
author | winniehell <git@winniehell.de> | 2016-07-17 03:03:56 +0300 |
---|---|---|
committer | winniehell <git@winniehell.de> | 2016-09-01 02:21:34 +0300 |
commit | 0d8352973bfbd3d1857657fce35284fcaf241cf7 (patch) | |
tree | 1a59d045eca4b3c6a24caee6a68d1b785da8e539 /spec/lib/banzai/filter/commit_reference_filter_spec.rb | |
parent | 177cc4e4cbde21e8b56a9f3e0104d6319d79e6cc (diff) |
Use JavaScript tooltips for mentions (!5301)
Diffstat (limited to 'spec/lib/banzai/filter/commit_reference_filter_spec.rb')
-rw-r--r-- | spec/lib/banzai/filter/commit_reference_filter_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/banzai/filter/commit_reference_filter_spec.rb b/spec/lib/banzai/filter/commit_reference_filter_spec.rb index d46d3f1489e..e0f08282551 100644 --- a/spec/lib/banzai/filter/commit_reference_filter_spec.rb +++ b/spec/lib/banzai/filter/commit_reference_filter_spec.rb @@ -55,7 +55,7 @@ describe Banzai::Filter::CommitReferenceFilter, lib: true do it 'includes a title attribute' do doc = reference_filter("See #{reference}") - expect(doc.css('a').first.attr('title')).to eq commit.link_title + expect(doc.css('a').first.attr('title')).to eq commit.title end it 'escapes the title attribute' do @@ -67,7 +67,7 @@ describe Banzai::Filter::CommitReferenceFilter, lib: true do it 'includes default classes' do doc = reference_filter("See #{reference}") - expect(doc.css('a').first.attr('class')).to eq 'gfm gfm-commit' + expect(doc.css('a').first.attr('class')).to eq 'gfm gfm-commit has-tooltip' end it 'includes a data-project attribute' do |