summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2020-04-08 15:06:02 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2020-04-08 15:07:18 -0700
commitf069a87d9e29bc1e0b115f3d1359e0372ad74d1d (patch)
tree4ccdfb1f9af3ba1492a97c37f5d5f14b15ac3bfa
parent1212247ac8c786fe33b7ea6e7ab023d9ac0d5807 (diff)
downloadchef-lcg/fix-bootstrap-cli-options.tar.gz
the bootstrap context isn't responsible for merging so this was always testing the wrong behavior Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--spec/unit/knife/core/bootstrap_context_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/knife/core/bootstrap_context_spec.rb b/spec/unit/knife/core/bootstrap_context_spec.rb
index 99035eff4e..7ddb981aba 100644
--- a/spec/unit/knife/core/bootstrap_context_spec.rb
+++ b/spec/unit/knife/core/bootstrap_context_spec.rb
@@ -1,6 +1,6 @@
#
# Author:: Daniel DeLeo (<dan@chef.io>)
-# Copyright:: Copyright 2011-2016, Chef Software Inc.
+# Copyright:: Copyright 2011-2020, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -297,7 +297,7 @@ describe Chef::Knife::Core::BootstrapContext do
describe "#version_to_install" do
context "when bootstrap_version is provided" do
- let(:chef_config) { { knife: { bootstrap_version: "awesome" } } }
+ let(:config) { { bootstrap_version: "awesome" } }
it "returns bootstrap_version" do
expect(bootstrap_context.version_to_install).to eq "awesome"