diff options
author | Starfall <us@starfall.systems> | 2021-03-04 23:55:42 -0600 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2021-03-04 23:55:42 -0600 |
commit | fe6381b9acc28cd610b032160de2952e1fdefc86 (patch) | |
tree | ad1ba10427d5d792d3ba797479528f01e51404a5 /spec/controllers/authorize_interactions_controller_spec.rb | |
parent | 033b1b5b900babc9b068ddad0ae644c5f15e9ffe (diff) | |
parent | f4abf8e7829c6a5b952dea6fb9ad01b6b3601f95 (diff) |
Merge remote-tracking branch 'glitchsoc/main' into main
Diffstat (limited to 'spec/controllers/authorize_interactions_controller_spec.rb')
-rw-r--r-- | spec/controllers/authorize_interactions_controller_spec.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/controllers/authorize_interactions_controller_spec.rb b/spec/controllers/authorize_interactions_controller_spec.rb index ce4257b68..b4ce30cd7 100644 --- a/spec/controllers/authorize_interactions_controller_spec.rb +++ b/spec/controllers/authorize_interactions_controller_spec.rb @@ -99,12 +99,10 @@ describe AuthorizeInteractionsController do allow(ResolveAccountService).to receive(:new).and_return(service) allow(service).to receive(:call).with('user@hostname').and_return(target_account) - allow(service).to receive(:call).with(target_account, skip_webfinger: true).and_return(target_account) post :create, params: { acct: 'acct:user@hostname' } - expect(service).to have_received(:call).with(target_account, skip_webfinger: true) expect(account.following?(target_account)).to be true expect(response).to render_template(:success) end |