[rspec-users] Using the mock framework in story runner
Ben Mabey
ben at benmabey.com
Mon Nov 12 15:37:50 EST 2007
Just requiring the lib/specs/mocks.rb doesn't seem to do the trick...
Ben Mabey wrote:
> Hey all,
> What is the easiest way to include rpec's mocking framework into a story
> so I can use it? I want to use it to stub out a Net::HTTP method so I'm
> not making API calls every time I run my story. :)
>
> Thanks,
> Ben
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
More information about the rspec-users
mailing list