From: Jano Svitok Date: 2009-09-04T17:28:14+09:00 Subject: Re: Message: <"no block given"> On Fri, Sep 4, 2009 at 09:54, Venkat Akkineni wrote: >    def open >      get_connection >    end > >    protected >    def  get_connection >      @busy_mutex.synchronize { >        while @free_connections.empty? >          sleep(0.001) >        end >        @free_connections.pop >      } >    end > > Test > >  def test_open -    assert_nothing_raised @pool.open + assert_nothing_raised do + @pool.open + end >  end assert_nothing_raised requires a block