From 640d122327a682f1eb011b30d48ca7f2780233d5 Mon Sep 17 00:00:00 2001 From: Miah Johnson Date: Tue, 7 May 2019 22:37:43 -0700 Subject: [PATCH] Update Inspec::Config.mock in collector global methods Signed-off-by: Miah Johnson --- test/unit/utils/telemetry/global_methods_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/utils/telemetry/global_methods_test.rb b/test/unit/utils/telemetry/global_methods_test.rb index 9e727dac7..e7bbbcff4 100644 --- a/test/unit/utils/telemetry/global_methods_test.rb +++ b/test/unit/utils/telemetry/global_methods_test.rb @@ -4,7 +4,7 @@ require_relative '../../../helper.rb' class TestTelemetryGlobalMethods < Minitest::Test def setup @collector = Inspec::Telemetry::Collector.instance - @collector.load_config(Inspec::Config.mock(telemetry: true)) + @collector.load_config(Inspec::Config.mock('enable_telemetry'=>true)) @collector.reset end