summaryrefslogtreecommitdiff
path: root/spec/support/integration_test_helper.rb
diff options
context:
space:
mode:
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)