Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforce stubbing/mocking HTTP calls in test environments #43

Open
kaiwren opened this issue Sep 21, 2010 · 0 comments
Open

Enforce stubbing/mocking HTTP calls in test environments #43

kaiwren opened this issue Sep 21, 2010 · 0 comments

Comments

@kaiwren
Copy link
Contributor

kaiwren commented Sep 21, 2010

requiring 'wrest/test' in test_helper.rb or spec_helper.rb should cause an exception to be thrown when a HTTP call is invoked is any tests being run, forcing the call to be mocked/stubbed

People using Wrest should be able to require 'wrest/test' in test_helper.rb or spec_helper.rb to ensure inadvertent calls to unmocked uris raise exceptions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant