Is there any way to setup a should_receive so that it returns whatever it was passed in from the actual code? I just want to make sure that a specific function is called, I don't want to mess around with the parameters it receives, or what it does inside, or what it returns. Is that possible? Using should_receive seems to default to returning nil.
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users