diff options
Diffstat (limited to 'spec/lib/gitlab/sidekiq_middleware/worker_context')
-rw-r--r-- | spec/lib/gitlab/sidekiq_middleware/worker_context/client_spec.rb | 6 | ||||
-rw-r--r-- | spec/lib/gitlab/sidekiq_middleware/worker_context/server_spec.rb | 3 |
2 files changed, 3 insertions, 6 deletions
diff --git a/spec/lib/gitlab/sidekiq_middleware/worker_context/client_spec.rb b/spec/lib/gitlab/sidekiq_middleware/worker_context/client_spec.rb index 821d8b8fe7b..1b6cd7ac5fb 100644 --- a/spec/lib/gitlab/sidekiq_middleware/worker_context/client_spec.rb +++ b/spec/lib/gitlab/sidekiq_middleware/worker_context/client_spec.rb @@ -17,8 +17,7 @@ RSpec.describe Gitlab::SidekiqMiddleware::WorkerContext::Client do jobs.find { |job| job['args'] == args } end - def perform(*args) - end + def perform(*args); end end end @@ -38,8 +37,7 @@ RSpec.describe Gitlab::SidekiqMiddleware::WorkerContext::Client do 'TestMailer' end - def test_mail - end + def test_mail; end end end diff --git a/spec/lib/gitlab/sidekiq_middleware/worker_context/server_spec.rb b/spec/lib/gitlab/sidekiq_middleware/worker_context/server_spec.rb index 05b328e55d3..2deab3064eb 100644 --- a/spec/lib/gitlab/sidekiq_middleware/worker_context/server_spec.rb +++ b/spec/lib/gitlab/sidekiq_middleware/worker_context/server_spec.rb @@ -41,8 +41,7 @@ RSpec.describe Gitlab::SidekiqMiddleware::WorkerContext::Server do include Sidekiq::Worker - def perform - end + def perform; end end end |