Commit fd8c30d1 authored by Katarzyna Kobierska's avatar Katarzyna Kobierska

Imrove grammar

parent bf3b8d1c
...@@ -52,7 +52,7 @@ describe Banzai::Filter::UserReferenceFilter, lib: true do ...@@ -52,7 +52,7 @@ describe Banzai::Filter::UserReferenceFilter, lib: true do
expect(doc.css('a').first.has_attribute?('data-author')).to eq(false) expect(doc.css('a').first.has_attribute?('data-author')).to eq(false)
end end
it 'ignores reference to all when user is not a project member' do it 'ignores reference to all when the user is not a project member' do
doc = reference_filter("Hey #{reference}", author: user) doc = reference_filter("Hey #{reference}", author: user)
expect(doc.css('a').length).to eq 0 expect(doc.css('a').length).to eq 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment