From c7dd6ee290ccde710546baf8f8537dedfb56f7d1 Mon Sep 17 00:00:00 2001 From: Braxton Schafer Date: Tue, 23 Mar 2021 14:24:16 -0500 Subject: [PATCH] try to fix test --- spec/classes/agent_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/classes/agent_spec.rb b/spec/classes/agent_spec.rb index 8322dd851..de46e046c 100644 --- a/spec/classes/agent_spec.rb +++ b/spec/classes/agent_spec.rb @@ -161,7 +161,7 @@ } end - it { is_expected.to compile.and_raise_error() } + it { is_expected.to compile.and_raise_error(%r{.*}) } end context 'configuration file with hostinterface' do