Hello list, Since stubs don't set expectations, do we have any use-case where stubbing like this makes sense:
@mock.stub!(:method).with(anything()).and_return(@collection). It is clear that and_return is the value from stubbing, but the with doesn't make any sense, in case, IMO. Thanks, Marcelo.
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users