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

Commit e726d8d

Browse files
committed
Disable rubocop Metrics/PerceivedComplexity for with_expectation
1 parent 692217e commit e726d8d

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
@@ -280,7 +280,7 @@ def initialize(signature, args=[])
280280
@arbitrary_kw_args = @unlimited_args = false
281281
end
282282

283-
def with_expectation(expectation) # rubocop:disable MethodLength
283+
def with_expectation(expectation) # rubocop:disable MethodLength, Metrics/PerceivedComplexity
284284
return self unless MethodSignatureExpectation === expectation
285285

286286
if expectation.empty?

0 commit comments

Comments
 (0)