Skip to content

Commit

Permalink
fixup! Appease RuboCop
Browse files Browse the repository at this point in the history
  • Loading branch information
pirj committed Mar 13, 2021
1 parent 6db69eb commit 6abb3f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rspec/core/example_group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ def self.define_example_group_method(name, metadata={})
# @!scope class
#
# @see SharedExampleGroup
def self.define_nested_shared_group_method(new_name, report_label="it should behave like", &block)
def self.define_nested_shared_group_method(new_name, report_label="it should behave like")
idempotently_define_singleton_method(new_name) do |name, *args, &customization_block|
yield if block_given? # to print a deprecation warning for it_should_behave_like usage

Expand Down

0 comments on commit 6abb3f2

Please sign in to comment.