From 982fef811e98916f28d1b9dea9efa7817405f971 Mon Sep 17 00:00:00 2001 From: Eugen Date: Sat, 8 Apr 2017 13:26:03 +0200 Subject: Fix #1141, fix #1126 - Avatar/profile info fetching (#1215) * Fix #1141, fix #1126 - Work through UpdateRemoteProfileService for both and top-level tags * Improve code quality, remove line unrelated to fix --- spec/services/update_remote_profile_service_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/services') 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 } -- cgit