RSpec false positive warning due to `expect { }.not_to raise_error(SpecificErrorClass)`
Job #395025991 failed for 5eb11b69:
WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /builds/gitlab-org/gitlab-foss/spec/workers/clusters/applications/activate_service_worker_spec.rb:49:in `block (3 levels) in <top (required)>'.