summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorGitLab Release Tools Bot <robert+release-tools@gitlab.com>2019-07-26 13:40:57 +0000
committerGitLab Release Tools Bot <robert+release-tools@gitlab.com>2019-07-26 13:40:57 +0000
commitf65ed87489e81ade3d3d78098db75a60db8eb893 (patch)
tree8a9fa12ebf81b134920a759866db7fd49cb65b59 /spec/spec_helper.rb
parent461101c3b50ef2215a3be9a099bf2581473d7d2d (diff)
parentf5c1cd489834e824c83f2ae909cd0dd41fb95dab (diff)
downloadgitlab-ce-f65ed87489e81ade3d3d78098db75a60db8eb893.tar.gz
Merge branch 'security-dns-ssrf-bypass' into 'master'
Server Side Request Forgery mitigation bypass Closes #2872 See merge request gitlab/gitlabhq!3205
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index a44b5069ade..90312edba14 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -3,6 +3,7 @@ SimpleCovEnv.start!
ENV["RAILS_ENV"] = 'test'
ENV["IN_MEMORY_APPLICATION_SETTINGS"] = 'true'
+ENV["RSPEC_ALLOW_INVALID_URLS"] = 'true'
require File.expand_path('../config/environment', __dir__)
require 'rspec/rails'