Displaying 1 result from an estimated 1 matches for "stub_any_instance".
2008 Jun 04
6
any_instance
Hi folks.
I''m very interested in the status of a port of any_instance from Mocha to RSpec.
In particular I have a spec suite that I wrote using RSpec but with
Mocha that depends heavily on any_instance. This is because it stubs
out one or two methods from an underlying API. In attempting to
convert the suite to RSpec mocks (because that''s what we''re using for
the rest