[rspec-users] i cannot seem to use at_least
kannan.deepak at gmail.com
Wed Sep 26 15:16:06 UTC 2012
Problem is that i want to test chained method calls. Where the method chain
But if the method chain is called then certain assertions apply on the
method chain itself
The object may or may not call a method.
But if it does call the method then it has to call another method on it
(ie. method chain) with certain arguments
I wrote a comment explaining my actual usecase at
kind-of obfuscated and simplified code example is at
mock = mock('Monitor')
i read these issues
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-users