37 lines
751 B
Ruby
37 lines
751 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
|
# licensed under the Affero General Public License version 3 or later. See
|
|
# the COPYRIGHT file.
|
|
|
|
module Workers
|
|
class PublishToHub < Base
|
|
def perform(*_args)
|
|
# don't publish to pubsubhubbub in cucumber
|
|
end
|
|
end
|
|
|
|
class SendPrivate < Base
|
|
def perform(*_args)
|
|
# don't federate in cucumber
|
|
end
|
|
end
|
|
|
|
class SendPublic < Base
|
|
def perform(*_args)
|
|
# don't federate in cucumber
|
|
end
|
|
end
|
|
|
|
class PostToService < Base
|
|
def perform(*_args)
|
|
# don't post to services in cucumber
|
|
end
|
|
end
|
|
|
|
class FetchWebfinger < Base
|
|
def perform(*_args)
|
|
# don't do real discovery in cucumber
|
|
end
|
|
end
|
|
end
|