0
0
Fork 0

Writing out more tests, fixed some bugs

This commit is contained in:
Eugen Rochko 2016-03-20 13:03:06 +01:00
parent e14b76c7cb
commit b640f35621
23 changed files with 1069 additions and 41 deletions

View file

@ -17,7 +17,7 @@ class ProcessFeedService < BaseService
status = Status.find_by(uri: activity_id(entry))
# If we already have a post and the verb is now "delete", we gotta delete it and move on!
if verb(entry) == :delete
if !status.nil? && verb(entry) == :delete
delete_post!(status)
next
end