diff --git a/lib/rspec/mocks/example_methods.rb b/lib/rspec/mocks/example_methods.rb index 178562f41..458dbd367 100644 --- a/lib/rspec/mocks/example_methods.rb +++ b/lib/rspec/mocks/example_methods.rb @@ -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