Yep! I think the `.never` is deprecated elsewhere (e.g. Bourne).

Updated in 45582a9


On Mon, May 27, 2013 at 4:51 PM, Sam Phippen <notifications@github.com>wrote:

> In README.md:
>
> > +verified.
> > +
> > +Stubbing and verifying messages received in this way implements the Test Spy
> > +pattern.
> > +
> > +```ruby
> > +  invitation = double('invitation', accept: true)
> > +
> > +  user.accept_invitation(
> invitation)
> > +
> > +  expect(invitation).to have_received(:accept)
> > +
> > +  # You can also use other common message expectations. For example:
> > +  expect(invitation).to have_received(:accept).with(mailer)
> > +  expect(invitation).to have_received(:accept).twice
> > +  expect(invitation).to have_received(:accept).with(mailer).never
>
> @adarsh <https://github.com/adarsh> this now looks much better, but could
> we change this never to a not_to have_received(:accept)? I *think* that
> works (can you test it before updating the docs?)
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/rspec/rspec-mocks/pull/296/files#r4405348>
> .
>



-- 
@adarshp <http://twitter.com/adarshp>
developer for thoughtbot, inc <http://www.thoughtbot.com>
313.454.1515 (m)

Scheduling with me? See bit.ly/adarshcalendar