summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-01-13 19:46:36 -0700
committermo khan <mo.khan@gmail.com>2020-01-13 19:46:36 -0700
commit404fa217515b7f5f5340f0db131c638fdb0fe17e (patch)
tree53af8a192e7cb2e5127322648a419f8e7c366223 /spec/support
parente8ee4b029b6b76a40d54a28f4db4d9632b12c7e8 (diff)
Add scan of .NET Core sample project
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/integration_test_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/support/integration_test_helper.rb b/spec/support/integration_test_helper.rb
index df75176..485af1b 100644
--- a/spec/support/integration_test_helper.rb
+++ b/spec/support/integration_test_helper.rb
@@ -11,6 +11,10 @@ module IntegrationTestHelper
IO.write(full_path, block_given? ? yield : content)
end
+ def clone(repo)
+ execute({}, "git clone #{repo} #{project_path}")
+ end
+
def scan(env: {})
return {} unless execute(env, './bin/test-local', project_path)