[rspec-users] Spec'ing chained calls
Levy Carneiro Jr.
levy at levycarneiro.com
Fri Mar 13 10:04:30 EDT 2009
I'm trying to spec a method, that has several chained calls.
In the first spec, I'm trying to focus on the method calls that have to be
made, and the arguments they should receive.
Is there a better way to spec the behaviour for these chained calls? It just
seems too many lines to me :)
Thanks a lot!
PS: I'm using my branch of the twitter gem, at
http://github.com/levycarneiro/twitter, which just adds this method
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-users