Update Inspec::Config.mock in collector global methods

Signed-off-by: Miah Johnson <miah@chia-pet.org>
This commit is contained in:
Miah Johnson 2019-05-07 22:37:43 -07:00
parent 046d4567ae
commit 640d122327

View file

@ -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