Re: [rspec-users] Specing a method that returns a lambda

2012-08-20 Thread Iain Barnett
Thanks for replying, and my apologies for the delay in my reply. On 11 Aug 2012, at 12:07, David Chelimsky wrote: > > My guess is that it's related to the context being included and the > fact that you're using before :all. Try it with before :each and see > if that works. If not, please run the

Re: [rspec-users] Specing a method that returns a lambda

2012-08-11 Thread David Chelimsky
On Fri, Aug 10, 2012 at 8:22 AM, Iain Barnett wrote: > Hello, > > I have a class that takes callbacks and stores them for later use. It > supplies a default block for all the other methods to use, and you can set a > new default if you like. I want to check that the new default is being set > a