about summary refs log tree commit diff
path: root/spec/services/batched_remove_status_service_spec.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-07-21 04:08:00 +0200
committerGitHub <noreply@github.com>2019-07-21 04:08:00 +0200
commitbd87e6667975bc3b5bfaf3e1cdff97e041ed4c98 (patch)
tree911345afb1da6dec8b0fce05d91eb915076e6a40 /spec/services/batched_remove_status_service_spec.rb
parent4bd58b7f2da369a608eacb97f832728ddc139ce8 (diff)
Remove WebSub subscriptions (#11303)
Diffstat (limited to 'spec/services/batched_remove_status_service_spec.rb')
-rw-r--r--spec/services/batched_remove_status_service_spec.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/spec/services/batched_remove_status_service_spec.rb b/spec/services/batched_remove_status_service_spec.rb
index d52e7f484..f84256f18 100644
--- a/spec/services/batched_remove_status_service_spec.rb
+++ b/spec/services/batched_remove_status_service_spec.rb
@@ -14,11 +14,8 @@ RSpec.describe BatchedRemoveStatusService, type: :service do
   before do
     allow(Redis.current).to receive_messages(publish: nil)
 
-    stub_request(:post, 'http://example.com/push').to_return(status: 200, body: '', headers: {})
-    stub_request(:post, 'http://example.com/salmon').to_return(status: 200, body: '', headers: {})
     stub_request(:post, 'http://example.com/inbox').to_return(status: 200)
 
-    Fabricate(:subscription, account: alice, callback_url: 'http://example.com/push', confirmed: true, expires_at: 30.days.from_now)
     jeff.user.update(current_sign_in_at: Time.zone.now)
     jeff.follow!(alice)
     hank.follow!(alice)