File tree Expand file tree Collapse file tree
app/models/concerns/account
spec/models/concerns/account Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -103,6 +103,8 @@ def unfollow!(other_account)
103103 follow = active_relationships . find_by ( target_account : other_account )
104104 follow &.destroy
105105 try ( :invalidate_mute_boosts_cache )
106+
107+ follow
106108 end
107109
108110 def unblock! ( other_account )
Original file line number Diff line number Diff line change 757757
758758 it 'evicts the cache of boost muted accounts' do
759759 expect ( me . excluded_boosts_from_timeline_account_ids ) . to be_empty
760- me . follow ( you , reblogs : false )
760+ me . follow! ( you , reblogs : false )
761761 expect ( me . excluded_boosts_from_timeline_account_ids ) . to include ( you . id )
762- me . follow ( you , reblogs : true )
762+ me . follow! ( you , reblogs : true )
763763 expect ( me . excluded_boosts_from_timeline_account_ids ) . to be_empty
764764 end
765765 end
You can’t perform that action at this time.
0 commit comments