[rspec-devel] Stub patch
brian.takita at gmail.com
Fri Sep 22 03:53:04 EDT 2006
I added a patch that adds stubbing support to rspec.
context "A consumer of a stub" do
specify "should be able to stub objects" do
obj = Object.new
It also resets the object to its prestubb state after the spec is finished.
This would allow stubbing of class methods like Stubby or flexstub.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-devel