-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spec_helper: add check for unexpected network calls
Any test that is not tagged as :needs_network and that makes a call to an unapproved method in the `Utils::Curl` module will raise an error unless that method gets mocked somehow. tests: add exceptions for tests that use curl to download local files These are acceptable ways to use curl in local, non-network tests. For those edge cases we allow you to bypass the check with :needs_utils_curl.
- Loading branch information
1 parent
8e67ee2
commit b66097f
Showing
3 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters