about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-10 16:03:38 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-10 16:03:38 +0200
commit81065bc06c544bd78eb9cce9cfbdba57638af005 (patch)
tree4e08beb9d668477e1c632663e3e96f315d2f5560 /app/services
parent3306a5d5242663e2407461e8e1537e60f97144c4 (diff)
Adding test for ProcessFeedService
Diffstat (limited to 'app/services')
-rw-r--r--app/services/process_feed_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/process_feed_service.rb b/app/services/process_feed_service.rb
index ff626a0f1..efe40adea 100644
--- a/app/services/process_feed_service.rb
+++ b/app/services/process_feed_service.rb
@@ -175,7 +175,7 @@ class ProcessFeedService < BaseService
   end
 
   def content(xml)
-    xml.at_xpath('./xmlns:content').content
+    xml.at_xpath('./xmlns:content').try(:content)
   end
 
   def thread_id(xml)