[mocha-developer] Stubbing Kernel#open

Kevin Clark kevin.clark at gmail.com
Thu Dec 21 11:59:20 EST 2006

GoogleSearch looks something like this (it's on another machine)

class GoogleSearch
  attr_accessor :body

  def initialize(query_string)

On 12/21/06, James Mead <jamesmead44 at gmail.com> wrote:
> Hi Kevin,
> Can you supply the relevant bit of the GoogleSearch class definition?
> i.e. the initialize method and any associated methods.
> Also it looks like you are using the latest Mocha gem - is that correct?
> --
> James.
> http://blog.floehopper.org
> _______________________________________________
> mocha-developer mailing list
> mocha-developer at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mocha-developer

Kevin Clark

More information about the mocha-developer mailing list