RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

http_decoy — a real Rack server that runs inside your RSpec tests

Spin up a real WEBrick server in your test suite with a clean DSL. Define routes, validate request contracts, simulate failure scenarios, and tear down automatically. No VCR cassettes. No scattered WebMock stubs. Works with WebMock out of the box.

URL: https://github.com/jibranusman95/http_decoy

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in