Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-05-22 01:24:46 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-06-10 08:31:27 +0300
commit57830201a9152b56ccf65a98275601617f44653d (patch)
treeae5698bb851d8e203acedadbdd0ebec20742807c /spec/support/webmock.rb
parent2f3ab0ab858f3343807716d5ef033f7a90112d51 (diff)
Add spec/support files for WebMock and test coverage
Diffstat (limited to 'spec/support/webmock.rb')
-rw-r--r--spec/support/webmock.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/support/webmock.rb b/spec/support/webmock.rb
new file mode 100644
index 00000000000..af2906b7568
--- /dev/null
+++ b/spec/support/webmock.rb
@@ -0,0 +1,4 @@
+require 'webmock'
+require 'webmock/rspec'
+
+WebMock.disable_net_connect!(allow_localhost: true)