From dbe2282153856aadb7bcf520714421703bd79857 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Thu, 23 May 2024 18:34:31 +0200 Subject: [PATCH] Change sidekiq inline invocation --- spec/requests/activitypub/inboxes_controller_spec.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spec/requests/activitypub/inboxes_controller_spec.rb b/spec/requests/activitypub/inboxes_controller_spec.rb index c432911d525..4dbdea36c8b 100644 --- a/spec/requests/activitypub/inboxes_controller_spec.rb +++ b/spec/requests/activitypub/inboxes_controller_spec.rb @@ -2,7 +2,7 @@ require 'rails_helper' -RSpec.describe ActivityPub::InboxesController do +RSpec.describe ActivityPub::InboxesController, :sidekiq_inline do let!(:current_datetime) { 'Wed, 20 Dec 2023 10:00:00 GMT' } let!(:remote_actor_keypair) do OpenSSL::PKey.read(<<~PEM_TEXT) @@ -65,7 +65,6 @@ RSpec.describe ActivityPub::InboxesController do end before do - Sidekiq::Testing.inline! travel_to current_datetime end