Merge remote-tracking branch 'parent/main' into upstream-20241203
This commit is contained in:
commit
2d9124a3ab
214 changed files with 1763 additions and 3380 deletions
|
@ -165,6 +165,7 @@ RSpec.describe FeedManager do
|
|||
allow(List).to receive(:where).and_return(list)
|
||||
status = Fabricate(:status, text: 'I post a lot', account: bob)
|
||||
expect(subject.filter?(:home, status, alice)).to be true
|
||||
expect(subject.filter(:home, status, alice)).to be :skip_home
|
||||
end
|
||||
|
||||
it 'returns true for reblog from followee on exclusive list' do
|
||||
|
@ -175,6 +176,7 @@ RSpec.describe FeedManager do
|
|||
status = Fabricate(:status, text: 'I post a lot', account: bob)
|
||||
reblog = Fabricate(:status, reblog: status, account: jeff)
|
||||
expect(subject.filter?(:home, reblog, alice)).to be true
|
||||
expect(subject.filter(:home, reblog, alice)).to be :skip_home
|
||||
end
|
||||
|
||||
it 'returns false for post from followee on non-exclusive list' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue