Skip to content

Commit

Permalink
Merge pull request #1567 from rspec/remove-mentions-of-legacy-methods
Browse files Browse the repository at this point in the history
Remove mentions of legacy methods
  • Loading branch information
pirj authored Jan 29, 2024
2 parents c3ee15a + ce90307 commit 8b0c3a8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/rspec/mocks/example_methods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,8 @@ def allow_any_instance_of(klass)
end

# Used to specify a message that you expect or allow an object
# to receive. The object returned by `receive` supports the same
# fluent interface that `should_receive` and `stub` have always
# supported, allowing you to constrain the arguments or number of
# to receive. The object returned by `receive` supports a fluent
# interface, allowing you to constrain the arguments or number of
# times, and configure how the object should respond to the message.
#
# @example
Expand Down

0 comments on commit 8b0c3a8

Please sign in to comment.