From 32443951b1f6e0edad653f0c45a6761314de646a Mon Sep 17 00:00:00 2001 From: Oleg Pudeyev Date: Mon, 1 Feb 2021 12:58:45 -0500 Subject: [PATCH] RUBY-2484 make initialData optional --- spec/runners/unified/test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/runners/unified/test.rb b/spec/runners/unified/test.rb index 57a19ecf95..51b43953e7 100644 --- a/spec/runners/unified/test.rb +++ b/spec/runners/unified/test.rb @@ -139,7 +139,7 @@ def create_entities end def set_initial_data - @spec['initialData'].each do |entity_spec| + @spec['initialData']&.each do |entity_spec| spec = UsingHash[entity_spec] collection = root_authorized_client.use(spec.use!('databaseName'))[spec.use!('collectionName')] collection.drop