I am upgrading from rspec 2 to rspec 3 and would like to use the new syntax and not enable the old syntax. But I have a few stubs that I set up in my top-level before(:each)
block that I selectively unstub
where I want the original implementation.
Is there some equivalent way to remove a stub when I've defined it with the new allow
syntax?
allow
as well. Thanks! – Michaelmas