Fix #54 - Fetch remote accounts by URL from mentions
Fetching atom extracted from FetchRemoteAccountService and FetchRemoteStatusService into FetchAtomService. Mentions of the constant "http://activityschema.org/collection/public" skipped as it's not a real URL/user.
This commit is contained in:
parent
0bd4608ad1
commit
c6b0311b86
11 changed files with 99 additions and 67 deletions
4
spec/services/fetch_atom_service_spec.rb
Normal file
4
spec/services/fetch_atom_service_spec.rb
Normal file
|
@ -0,0 +1,4 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe FetchAtomService do
|
||||
end
|
|
@ -1,8 +0,0 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe FetchFeedService do
|
||||
subject { FetchFeedService.new }
|
||||
|
||||
it 'fetches remote user\'s feed'
|
||||
it 'processes the feed'
|
||||
end
|
4
spec/services/fetch_remote_account_service_spec.rb
Normal file
4
spec/services/fetch_remote_account_service_spec.rb
Normal file
|
@ -0,0 +1,4 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe FetchRemoteAccountService do
|
||||
end
|
4
spec/services/fetch_remote_status_service_spec.rb
Normal file
4
spec/services/fetch_remote_status_service_spec.rb
Normal file
|
@ -0,0 +1,4 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe FetchRemoteStatusService do
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue