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

Commit 6abb3f2

Browse files
committed
fixup! Appease RuboCop
1 parent 6db69eb commit 6abb3f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rspec/core/example_group.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def self.define_example_group_method(name, metadata={})
314314
# @!scope class
315315
#
316316
# @see SharedExampleGroup
317-
def self.define_nested_shared_group_method(new_name, report_label="it should behave like", &block)
317+
def self.define_nested_shared_group_method(new_name, report_label="it should behave like")
318318
idempotently_define_singleton_method(new_name) do |name, *args, &customization_block|
319319
yield if block_given? # to print a deprecation warning for it_should_behave_like usage
320320

0 commit comments

Comments
 (0)