diff options
author | Eugen <eugen@zeonfederated.com> | 2017-04-08 13:26:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-08 13:26:03 +0200 |
commit | 982fef811e98916f28d1b9dea9efa7817405f971 (patch) | |
tree | 6c9ee7bb1e6ccb84fb7a4d256d02e050f2fc0345 /spec/services | |
parent | 41f8fde83e62bd20d3c0a2bb6cff1ed8b3279a4a (diff) |
Fix #1141, fix #1126 - Avatar/profile info fetching (#1215)
* Fix #1141, fix #1126 - Work through UpdateRemoteProfileService for both <feed> and <entry> top-level tags * Improve code quality, remove line unrelated to fix
Diffstat (limited to 'spec/services')
-rw-r--r-- | spec/services/update_remote_profile_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/update_remote_profile_service_spec.rb b/spec/services/update_remote_profile_service_spec.rb index c3d76c653..f96f2f6ba 100644 --- a/spec/services/update_remote_profile_service_spec.rb +++ b/spec/services/update_remote_profile_service_spec.rb @@ -1,7 +1,7 @@ require 'rails_helper' RSpec.describe UpdateRemoteProfileService do - let(:xml) { Nokogiri::XML(File.read(File.join(Rails.root, 'spec', 'fixtures', 'push', 'feed.atom'))).at_xpath('//xmlns:feed') } + let(:xml) { File.read(File.join(Rails.root, 'spec', 'fixtures', 'push', 'feed.atom')) } subject { UpdateRemoteProfileService.new } |