Re: [rspec-users] should_receive with block or proc?

2012-08-06 Thread David Chelimsky
On Mon, Aug 6, 2012 at 9:21 AM, Alexander Baronec wrote: > 2012/8/6 David Chelimsky >> >> On Mon, Aug 6, 2012 at 3:48 AM, Alexander Baronec >> wrote: >> > 2012/8/5 David Chelimsky >> >> >> >> On Sat, Aug 4, 2012 at 1:46 PM, Alexander Baronec >> >> wrote: >> >> > Hello. >> >> > How can I test o

Re: [rspec-users] should_receive with block or proc?

2012-08-06 Thread Alexander Baronec
I wan't to test order of received messages. I want to test only one message of few and compare it with real-time value. It's not possible? 2012/8/6 David Chelimsky > On Mon, Aug 6, 2012 at 3:48 AM, Alexander Baronec > wrote: > > 2012/8/5 David Chelimsky > >> > >> On Sat, Aug 4, 2012 at 1:46 PM

Re: [rspec-users] should_receive with block or proc?

2012-08-06 Thread David Chelimsky
On Mon, Aug 6, 2012 at 3:48 AM, Alexander Baronec wrote: > 2012/8/5 David Chelimsky >> >> On Sat, Aug 4, 2012 at 1:46 PM, Alexander Baronec >> wrote: >> > Hello. >> > How can I test object to receive message and compare arguments of this >> > message with value evaluated at present time? It is p

Re: [rspec-users] should_receive with block or proc?

2012-08-06 Thread Alexander Baronec
It don't work when object received few messages. I described it there: http://stackoverflow.com/questions/11669979/should-recieve-alongside-other-messages 2012/8/5 David Chelimsky > On Sat, Aug 4, 2012 at 1:46 PM, Alexander Baronec > wrote: > > Hello. > > How can I test object to receive messag