Re: [rspec-users] Spec-ing private method

2013-05-16 Thread Andrew Premdas
On 16 May 2013, at 04:22, "Andrey S." wrote: > Yes, I know, that testing private methods it's not a good idea (and I > read this thread - http://www.ruby-forum.com/topic/197346 - and some > others) > > But how can I test the following code? > I use xmpp4r. In my public method #listen I start rece

Re: [rspec-users] Spec-ing private method

2013-05-16 Thread Matt Wynne
On 16 May 2013, at 04:22, Andrey S. wrote: > Yes, I know, that testing private methods it's not a good idea (and I > read this thread - http://www.ruby-forum.com/topic/197346 - and some > others) > > But how can I test the following code? > I use xmpp4r. In my public method #listen I start rece