diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2020-04-08 15:06:02 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-04-10 15:44:12 -0700 |
commit | 107a81b1e3fe779cc0fcb08d173e3ef3aa055f97 (patch) | |
tree | 57603898f65a431f752ef3daba4901e91896e463 | |
parent | c38da1b1076f59ba8198016e9d0e31cad319cd53 (diff) | |
download | chef-bootstrap_version_fix.tar.gz |
fix specbootstrap_version_fix
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.rb | 4 |
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 029dd90875..5533649f64 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"); @@ -283,7 +283,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" |