Re: Stubbing

68 views
Skip to first unread message

Hans Hasselberg

unread,
Dec 8, 2012, 10:32:41 PM12/8/12
to typh...@googlegroups.com
Yes: Typhoeus.stub(). See: http://rubydoc.info/github/typhoeus/typhoeus/Typhoeus#stub-instance_method. It has different parameters - basically like Typhoeus::Request.new.

--
Hans


On Sunday, December 9, 2012 at 4:21 AM, mabounassif wrote:

> Was the hydra.stub method removed?
> If so any alternative on how to stub test?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups "Typhoeus" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/typhoeus/-/6prCdjWiBy0J.
> To post to this group, send email to typh...@googlegroups.com (mailto:typh...@googlegroups.com).
> To unsubscribe from this group, send email to typhoeus+u...@googlegroups.com (mailto:typhoeus+u...@googlegroups.com).
> For more options, visit this group at http://groups.google.com/group/typhoeus?hl=en.



Reply all
Reply to author
Forward
0 new messages