Re: [rspec-users] i cannot seem to use at_least

2012-09-27 Thread deepak
@ben i did read the discussion for issue#133. But i did not get the argument that at_least(0) should be a stub. @ myronmarston comment at the end, cleared that up for me After reading it again, i came up with https://gist.github.com/3792506 am a rspec noob so pl

Re: [rspec-users] i cannot seem to use at_least

2012-09-26 Thread Ben Lovell
Hi On 26 September 2012 16:16, deepak kannan wrote: > hi, > > Problem is that i want to test chained method calls. Where the method > chain is optional > 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. > Bu

[rspec-users] i cannot seem to use at_least

2012-09-26 Thread deepak kannan
hi, Problem is that i want to test chained method calls. Where the method chain is optional 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 (