diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-09-08 12:00:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-08 12:00:17 +0200 |
commit | a4caa7eb6258ff7f8eea8e6791b86b1c7f4d172e (patch) | |
tree | 73618aed49160ece71b17df7fef4efa7a0dd261a /spec/services/activitypub | |
parent | 7c2d84910cf427787b9fea2bdba67ec426c0b97d (diff) |
Fetch statuses/following/followers numbers from ActivityPub collections (#4840)
Diffstat (limited to 'spec/services/activitypub')
-rw-r--r-- | spec/services/activitypub/fetch_remote_account_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/activitypub/fetch_remote_account_service_spec.rb b/spec/services/activitypub/fetch_remote_account_service_spec.rb index 391d051c1..ed7e9bba8 100644 --- a/spec/services/activitypub/fetch_remote_account_service_spec.rb +++ b/spec/services/activitypub/fetch_remote_account_service_spec.rb @@ -41,7 +41,7 @@ RSpec.describe ActivityPub::FetchRemoteAccountService do before do actor[:inbox] = nil - + stub_request(:get, 'https://example.com/alice').to_return(body: Oj.dump(actor)) stub_request(:get, 'https://example.com/.well-known/webfinger?resource=acct:alice@example.com').to_return(body: Oj.dump(webfinger), headers: { 'Content-Type': 'application/jrd+json' }) end |