postmodern / spidr

A versatile Ruby web spidering library that can spider a site, multiple domains, certain links or infinitely. Spidr is designed to be fast and easy to use.
MIT License
800 stars 109 forks source link

Use webmock and to_rack in specs #44

Closed postmodern closed 2 years ago

postmodern commented 8 years ago

Make wsoc a dependency of spidr and route all requests to it using webmock's .to_rack method. https://robots.thoughtbot.com/how-to-stub-external-services-in-tests

postmodern commented 2 years ago

This was completed in e91c1190d7eea6645e3a9ceadd1c3918ad5a12fa and 0ecaffa38f7e59ae44e535f4439070fb055c9ce4.