Imrove grammar
This commit is contained in:
parent
bf3b8d1c1d
commit
fd8c30d1d7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue