mattgreen/webstub — pull request #2 by mgartner (2012-10-15 16:58:43+00:00)
Title: Adds option to to_return for setting status code of response

I added an option to `WebStub::Stub#to_return` named `:status_code` which allows you to set the status code of the stubbed response so that you can mock errors returned from an API.

Let me know if you want me to change anything stylistically or if more tests are needed.