summaryrefslogtreecommitdiff
path: root/spec/support/integration_test_helper.rb
diff options
context:
space:
mode:
authorCan Eldem <celdem@gitlab.com>2020-01-16 10:24:11 +0000
committerCan Eldem <celdem@gitlab.com>2020-01-16 10:24:11 +0000
commit2074e7e5ea3012be6f3a72bd4af934a42b7202ca (patch)
treece9ec33580f0e6e3f9cf3df1aab2f2cf7b5601cb /spec/support/integration_test_helper.rb
parentf4f59927f87944a4d73be26416a7334521875f40 (diff)
parent34f162a4903d852d47bd5440839f7519eb6fa8f0 (diff)
Merge branch '12012-pipfile-lock' into 'master'v2.4.0
Add support for Pipfile.lock See merge request gitlab-org/security-products/license-management!103
Diffstat (limited to 'spec/support/integration_test_helper.rb')
-rw-r--r--spec/support/integration_test_helper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/support/integration_test_helper.rb b/spec/support/integration_test_helper.rb
index 485af1b..5ef00a1 100644
--- a/spec/support/integration_test_helper.rb
+++ b/spec/support/integration_test_helper.rb
@@ -2,7 +2,8 @@ module IntegrationTestHelper
class IntegrationTestRunner
attr_reader :project_path
- def initialize(project_path = Dir.mktmpdir('lm'))
+ def initialize(project_path = File.join(Dir.pwd, 'tmp', SecureRandom.uuid))
+ FileUtils.mkdir_p(project_path)
@project_path = project_path
end