diff options
Diffstat (limited to 'spec/workers')
-rw-r--r-- | spec/workers/background_migration_worker_spec.rb | 2 | ||||
-rw-r--r-- | spec/workers/mail_scheduler/notification_service_worker_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/workers/background_migration_worker_spec.rb b/spec/workers/background_migration_worker_spec.rb index e5be8ce0423..aae6fa02a0c 100644 --- a/spec/workers/background_migration_worker_spec.rb +++ b/spec/workers/background_migration_worker_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe BackgroundMigrationWorker, :sidekiq, :clean_gitlab_redis_shared_state do +describe BackgroundMigrationWorker, :clean_gitlab_redis_shared_state do let(:worker) { described_class.new } describe '.minimum_interval' do diff --git a/spec/workers/mail_scheduler/notification_service_worker_spec.rb b/spec/workers/mail_scheduler/notification_service_worker_spec.rb index 14a9f0ed8b7..3c023e713ed 100644 --- a/spec/workers/mail_scheduler/notification_service_worker_spec.rb +++ b/spec/workers/mail_scheduler/notification_service_worker_spec.rb @@ -49,7 +49,7 @@ describe MailScheduler::NotificationServiceWorker do end end - describe '.perform_async', :sidekiq do + describe '.perform_async' do around do |example| Sidekiq::Testing.fake! { example.run } end |