Commit 97f973b8 authored by Benjamin Neff's avatar Benjamin Neff Committed by Jonne Haß

fix rubocop warnings in poor_mans_webmock.rb

and remove unused HttpPost mock
parent f45e0533
......@@ -4,25 +4,19 @@
module Workers
class PublishToHub < Base
def perform(sender_atom_url)
def perform(_sender_atom_url)
# don't publish to pubsubhubbub in cucumber
end
end
class HttpMulti < Base
def perform(user_id, enc_object_xml, person_ids, retry_count=0)
def perform(_user_id, _enc_object_xml, _person_ids, _retry_count=0)
# don't federate in cucumber
end
end
class HttpPost < Base
def perform(url, body, tries_remaining = NUM_TRIES)
# don't post to outside services in cucumber
end
end
class PostToService < Base
def perform(service_id, post_id, url)
def perform(_service_id, _post_id, _url)
# don't post to services in cucumber
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment