summaryrefslogtreecommitdiff
path: root/spec/support/integration_test_helper.rb
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-05-27 14:59:20 +0000
committermo khan <mo.khan@gmail.com>2020-05-27 14:59:20 +0000
commit5b4aca6e3c936bca2657d1ad1a8f336838fda4bb (patch)
tree2a5ba8dfc9bdb61c58633373be122ae2f83df1e7 /spec/support/integration_test_helper.rb
parentbff873a938de126d2b79e799df325f3d5c31295b (diff)
parent80fa34dd2bd72af88efcb85844302d04450a0e1e (diff)
Merge branch '212919-conan-integration-tests' into 'master'v3.10.0
Scan conan projects See merge request gitlab-org/security-products/license-management!156
Diffstat (limited to 'spec/support/integration_test_helper.rb')
-rw-r--r--spec/support/integration_test_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/integration_test_helper.rb b/spec/support/integration_test_helper.rb
index ead30d4..aa3f0c0 100644
--- a/spec/support/integration_test_helper.rb
+++ b/spec/support/integration_test_helper.rb
@@ -15,7 +15,7 @@ module IntegrationTestHelper
end
def licenses_for(name)
- find(name)[:licenses]
+ (find(name) || {}).fetch(:licenses, [])
end
def find(name)