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

Commit ecb0e48

Browse files
committed
fixup! Add yard doc for deprecated method
1 parent 6ce216f commit ecb0e48

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/rspec/core/configuration.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1234,6 +1234,9 @@ def alias_example_group_to(new_name, *args)
12341234
def alias_it_behaves_like_to(new_name, report_label='')
12351235
RSpec::Core::ExampleGroup.define_nested_shared_group_method(new_name, report_label)
12361236
end
1237+
1238+
# Alias for `alias_it_behaves_like_to`.
1239+
# @deprecated Use {#alias_it_behaves_like_to} instead.
12371240
def alias_it_should_behave_like_to(new_name, report_label='')
12381241
RSpec.deprecate("`alias_it_should_behave_like_to`", :replacement => "`alias_it_behaves_like_to`")
12391242
alias_it_behaves_like_to(new_name, report_label)

0 commit comments

Comments
 (0)