summaryrefslogtreecommitdiff
path: root/test/test_helper.rb
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-05-25 14:22:00 +0200
committerAzul <azul@riseup.net>2016-05-25 14:22:00 +0200
commitb28d1eec92fb7d1ec05d37ae13df1d4049d57932 (patch)
treebaf372bae2c2793386b1fdbc8b09816600b29ea1 /test/test_helper.rb
parent8a81429f0eb8aa5041d47557d0c5b5359bb959e6 (diff)
run all tests by default
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r--test/test_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 842f05f..c9d8fd4 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -28,7 +28,7 @@ class Minitest::Test
end
def real_network
- if ENV['REAL_NET'] == 'true'
+ unless ENV['ONLY_LOCAL'] == 'true'
WebMock.allow_net_connect!
yield
WebMock.disable_net_connect!