Update rubocop and rubocop-rspec (#26329)
This commit is contained in:
parent
fe31571965
commit
b970ed6098
15 changed files with 48 additions and 74 deletions
|
@ -10,8 +10,7 @@ RSpec.describe UnsuspendAccountService, type: :service do
|
|||
let!(:list) { Fabricate(:list, account: local_follower) }
|
||||
|
||||
before do
|
||||
allow(FeedManager.instance).to receive(:merge_into_home).and_return(nil)
|
||||
allow(FeedManager.instance).to receive(:merge_into_list).and_return(nil)
|
||||
allow(FeedManager.instance).to receive_messages(merge_into_home: nil, merge_into_list: nil)
|
||||
|
||||
local_follower.follow!(account)
|
||||
list.accounts << account
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue