Re: [rspec-users] Post call verification

2011-03-23 Thread Srushti Ambekallu
om: David Chelimsky mailto:dchelim...@gmail.com>> To: rspec-users mailto:rspec-users@rubyforge.org>> Subject: Re: [rspec-users] Post call verification Message-ID: <3237c672-2bb7-446c-9ae5-e25447ce2...@gmail.com <mailto:3237c672-2bb7-446c-9ae5-e25447ce2...@gmail.com>

Re: [rspec-users] Post call verification

2011-03-23 Thread David Chelimsky
[moved your post to the bottom for consistency with this thread] On Mar 23, 2011, at 1:41 PM, Srushti wrote: > On 22 March 2011 17:22, wrote: > > Date: Tue, 22 Mar 2011 06:52:02 -0500 > From: David Chelimsky > To: rspec-users > Subject: Re: [rspec-users] Post call verific

Re: [rspec-users] Post call verification

2011-03-23 Thread Srushti
where the return value doesn't matter and you saving a little bit of noise in your tests. Nonetheless, here's the gem: http://rubygems.org/gems/stirlitz Thanks, Srushti On 22 March 2011 17:22, wrote: > > Date: Tue, 22 Mar 2011 06:52:02 -0500 > From: David Chelimsky > To: rs

Re: [rspec-users] Post call verification

2011-03-22 Thread David Chelimsky
On Mar 22, 2011, at 4:13 AM, Tom Stuart wrote: > On 19 Mar 2011, at 13:35, David Chelimsky wrote: > >> On Mar 18, 2011, at 10:37 AM, Srushti Ambekallu wrote: >> >>> Hey all, >>> >>> I would like to be able to be able to have mocks where I can make all the >>> calls and assert that it was calle

Re: [rspec-users] Post call verification

2011-03-22 Thread Tom Stuart
On 19 Mar 2011, at 13:35, David Chelimsky wrote: > On Mar 18, 2011, at 10:37 AM, Srushti Ambekallu wrote: > >> Hey all, >> >> I would like to be able to be able to have mocks where I can make all the >> calls and assert that it was called afterwards. This would be especially >> useful when ass

Re: [rspec-users] Post call verification

2011-03-19 Thread Matt Wynne
On 19 Mar 2011, at 13:35, David Chelimsky wrote: > On Mar 18, 2011, at 10:37 AM, Srushti Ambekallu wrote: > >> Hey all, >> >> I would like to be able to be able to have mocks where I can make all the >> calls and assert that it was called afterwards. This would be especially >> useful when as

Re: [rspec-users] Post call verification

2011-03-19 Thread David Chelimsky
On Mar 18, 2011, at 10:37 AM, Srushti Ambekallu wrote: > Hey all, > > I would like to be able to be able to have mocks where I can make all the > calls and assert that it was called afterwards. This would be especially > useful when asserting on a doing-method whose return value is not being >

[rspec-users] Post call verification

2011-03-19 Thread Srushti Ambekallu
Hey all, I would like to be able to be able to have mocks where I can make all the calls and assert that it was called afterwards. This would be especially useful when asserting on a doing-method whose return value is not being considered. e.g. service = mock(ExternalService) ExternalS