From 76d67e26bfb4366d9dccab1d6c96e6f0685a3d82 Mon Sep 17 00:00:00 2001 From: Pete Higgins Date: Tue, 1 Sep 2020 13:12:28 -0700 Subject: Set correct config value. Signed-off-by: Pete Higgins --- spec/unit/shell/shell_session_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/unit/shell/shell_session_spec.rb b/spec/unit/shell/shell_session_spec.rb index 931a088f45..b71cc6fb33 100644 --- a/spec/unit/shell/shell_session_spec.rb +++ b/spec/unit/shell/shell_session_spec.rb @@ -161,7 +161,7 @@ describe Shell::SoloLegacySession do before do Chef::Config[:shell_config] = { override_runlist: [Chef::RunList::RunListItem.new("shell::override")] } - Chef::Config[:shell_solo] = nil + Chef::Config[:solo_legacy_shell] = true session.node = node session.json_configuration = json_attribs session.run_context = run_context -- cgit v1.2.1