Re: [rspec-users] Setting expections on chained calls

2011-11-07 Thread Justin Ko
On Nov 7, 2011, at 4:13 PM, Matt Wynne wrote: > > On 7 Nov 2011, at 18:37, Justin Ko wrote: > >> On Nov 2, 2011, at 12:01 PM, Rob Aldred wrote: >> >>> >>> I'm pretty sure this has probably been discussed before. >>> I'm using couchdb (couchrest_model) >>> >>> When speccing my controller i wa

Re: [rspec-users] Setting expections on chained calls

2011-11-07 Thread Matt Wynne
On 7 Nov 2011, at 18:37, Justin Ko wrote: > On Nov 2, 2011, at 12:01 PM, Rob Aldred wrote: > >> >> I'm pretty sure this has probably been discussed before. >> I'm using couchdb (couchrest_model) >> >> When speccing my controller i want to set expectations that im calling my >> couch views cor

Re: [rspec-users] Setting expections on chained calls

2011-11-07 Thread Justin Ko
On Nov 2, 2011, at 12:01 PM, Rob Aldred wrote: > > I'm pretty sure this has probably been discussed before. > I'm using couchdb (couchrest_model) > > When speccing my controller i want to set expectations that im calling my > couch views correctly. > The query interface has recently been update

[rspec-users] Setting expections on chained calls

2011-11-07 Thread Rob Aldred
I'm pretty sure this has probably been discussed before. I'm using couchdb (couchrest_model) When speccing my controller i want to set expectations that im calling my couch views correctly. The query interface has recently been updated to work very similar to ARel This means i have to rewrite s

Re: [rspec-users] Weird behavior with should_not_receive

2011-11-07 Thread Alex Chaffee
On Sun, Nov 6, 2011 at 2:55 PM, David Chelimsky wrote: > There you go :) > You are three times a gentleman, David. -- Alex Chaffee - a...@stinky.com http://alexchaffee.com http://twitter.com/alexch ___ rspec-users mailing list rspec-users@rubyforge.or