[Rspec-devel] Mock API - should_not_receive
smartgpx at gmail.com
Wed Aug 30 05:53:03 EDT 2006
I would like to be able to specify that under given circumstances a
from my application is NOT returned to the user. [eg. IF Bank_Balance is
Credit_Status_Report should NOT be "you are overdrawn."]
I can do -
specify "correct output" do
By trying for a PLS solution, I would hope to be able to write -
specify "unwanted output" do
But that fails - it looks as though 'with' is not implemented for
Is there a way of expressing this logic in the API as it stands, or should
I submit a Feature Request?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rspec-devel