On 24 Jul 2010, at 2:52 PM, Wincent Colaiuta wrote:

> How about this:
> 
>  f.stub.existing(:bar)
> 
> That's probably RR influencing me there, which employs things like 
> "stub.proxy" and so on. So maybe not such a good idea for rspec-mocks.

Another option might be to deprecate #stub! as an alias for #stub and then 
bring it back as an equivalent to `stub.existing` above.

Ash

-- 
http://www.patchspace.co.uk/
http://www.linkedin.com/in/ashleymoran



_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to