summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Higgins <pete@peterhiggins.org>2020-09-01 13:12:28 -0700
committerPete Higgins <pete@peterhiggins.org>2020-09-01 13:50:52 -0700
commit76d67e26bfb4366d9dccab1d6c96e6f0685a3d82 (patch)
tree7841fde49be4c8655219879d91f73e16d2f16839
parentdd1bd59272ce054cb901c635ca122698297e24cc (diff)
downloadchef-shell-test-cleanup.tar.gz
Set correct config value.shell-test-cleanup
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
-rw-r--r--spec/unit/shell/shell_session_spec.rb2
1 files changed, 1 insertions, 1 deletions
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