Make tests work on Docker for Mac
diff --git a/tests/test_helpers.bash b/tests/test_helpers.bash
index 787edd3..d5a3794 100644
--- a/tests/test_helpers.bash
+++ b/tests/test_helpers.bash
@@ -42,7 +42,11 @@
 
 function get_jenkins_url {
     if [ -z "${DOCKER_HOST}" ]; then
-        DOCKER_IP=localhost
+        if [ "$(uname)" == "Darwin" ]; then
+            DOCKER_IP=docker.local
+        else
+            DOCKER_IP=localhost
+        fi
     else
         DOCKER_IP=$(echo "$DOCKER_HOST" | sed -e 's|tcp://\(.*\):[0-9]*|\1|')
     fi