Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 98d9436

Browse files
committed
Disable rubocop Metrics/PerceivedComplexity for with_expectation
1 parent 96a9338 commit 98d9436

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rspec/support/method_signature_verifier.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def initialize(signature, args=[])
285285
@arbitrary_kw_args = @unlimited_args = false
286286
end
287287

288-
def with_expectation(expectation) # rubocop:disable MethodLength
288+
def with_expectation(expectation) # rubocop:disable MethodLength, Metrics/PerceivedComplexity
289289
return self unless MethodSignatureExpectation === expectation
290290

291291
if expectation.empty?

0 commit comments

Comments
 (0)