diff options
| author | Tetiana Chupryna <tchupryna@gitlab.com> | 2020-02-17 10:58:47 +0000 |
|---|---|---|
| committer | Tetiana Chupryna <tchupryna@gitlab.com> | 2020-02-17 10:58:47 +0000 |
| commit | a307d82c1f855b1d1b113289216911c168523a2f (patch) | |
| tree | 712c39bf7972f70669d1be33e6b653356adebcae /spec/support/integration_test_helper.rb | |
| parent | c6f2ad7ea95cae4d4f4f8e192eeab8b466dfd166 (diff) | |
| parent | 94b7c0a650af89f366e5317ff6a28355528ec30b (diff) | |
Merge branch '198043-gradle-scanning' into 'master'v2.4.3
Scan projects with bundled gradle wrapper
See merge request gitlab-org/security-products/license-management!109
Diffstat (limited to 'spec/support/integration_test_helper.rb')
| -rw-r--r-- | spec/support/integration_test_helper.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/support/integration_test_helper.rb b/spec/support/integration_test_helper.rb index e05ef43..09843c3 100644 --- a/spec/support/integration_test_helper.rb +++ b/spec/support/integration_test_helper.rb @@ -40,4 +40,10 @@ module IntegrationTestHelper def runner(*args) @runner ||= IntegrationTestRunner.new(*args) end + + def find_in(report, name) + report[:dependencies].find do |dependency| + dependency[:name] == name + end + end end |
