summaryrefslogtreecommitdiff
path: root/spec/support/webmock.rb
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2018-08-16 12:58:50 +0000
committerNick Thomas <nick@gitlab.com>2018-08-16 12:58:50 +0000
commitfb8606f65a60808e52539f71f09fba871b5aba6b (patch)
treefffd9f99b45b063e318c0e954116c98647737ef9 /spec/support/webmock.rb
parent122d84a403d3534dea743d94aa23d4115cc804a8 (diff)
parent710f75186009cb85c996d0de723ec3524299ecd8 (diff)
downloadgitlab-shell-fb8606f65a60808e52539f71f09fba871b5aba6b.tar.gz
Merge branch 'rs-rspec' into 'master'
Update to RSpec 3 Closes #54 See merge request gitlab-org/gitlab-shell!229
Diffstat (limited to 'spec/support/webmock.rb')
-rw-r--r--spec/support/webmock.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/support/webmock.rb b/spec/support/webmock.rb
new file mode 100644
index 0000000..ed4fe6d
--- /dev/null
+++ b/spec/support/webmock.rb
@@ -0,0 +1,3 @@
+require 'webmock/rspec'
+
+WebMock.disable_net_connect!(allow_localhost: true)