Imrove grammar

This commit is contained in:
Katarzyna Kobierska 2016-10-01 11:17:56 +02:00
parent bf3b8d1c1d
commit fd8c30d1d7

View file

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