@ -201,17 +201,17 @@ RSpec.describe Status, type: :model do
expect ( @results ) . to include ( @self_status )
expect ( @results ) . to include ( @self_status )
end
end
it ' includes direct statuses from self' do
it ' does not include direct statuses from self' do
expect ( @results ) . to include ( @self_direct_status )
expect ( @results ) . to _not include ( @self_direct_status )
end
end
it 'includes statuses from followed' do
it 'includes statuses from followed' do
expect ( @results ) . to include ( @followed_status )
expect ( @results ) . to include ( @followed_status )
end
end
it ' includes direct statuses mentioning recipient from followed' do
it ' does not include direct statuses mentioning recipient from followed' do
Fabricate ( :mention , account : account , status : @followed_direct_status )
Fabricate ( :mention , account : account , status : @followed_direct_status )
expect ( @results ) . to include ( @followed_direct_status )
expect ( @results ) . to _not include ( @followed_direct_status )
end
end
it 'does not include direct statuses not mentioning recipient from followed' do
it 'does not include direct statuses not mentioning recipient from followed' do