diff options
author | Serdar Sutay <serdar@opscode.com> | 2014-08-21 10:47:29 -0700 |
---|---|---|
committer | Serdar Sutay <serdar@opscode.com> | 2014-08-26 15:42:26 -0700 |
commit | dbb378c78b94745999e8c7058cec37faec51d3dd (patch) | |
tree | 8c0a5dafb9f5a06195e73443a58c60b566e24a9f /spec | |
parent | f5ff27125f1da00fede09ff66b298f583cce5257 (diff) | |
download | chef-dbb378c78b94745999e8c7058cec37faec51d3dd.tar.gz |
Remove the bootstrap templates that does chef install via gems.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/knife/core/bootstrap_context_spec.rb | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/spec/unit/knife/core/bootstrap_context_spec.rb b/spec/unit/knife/core/bootstrap_context_spec.rb index d78b48cad3..7c6e4e7ae2 100644 --- a/spec/unit/knife/core/bootstrap_context_spec.rb +++ b/spec/unit/knife/core/bootstrap_context_spec.rb @@ -33,10 +33,6 @@ describe Chef::Knife::Core::BootstrapContext do subject(:bootstrap_context) { described_class.new(config, run_list, chef_config) } - it "installs the same version of chef on the remote host" do - bootstrap_context.bootstrap_version_string.should eq "--version #{Chef::VERSION}" - end - it "runs chef with the first-boot.json in the _default environment" do bootstrap_context.start_chef.should eq "chef-client -j /etc/chef/first-boot.json -E _default" end @@ -95,24 +91,6 @@ EXPECTED end end - describe "when installing a prerelease version of chef" do - let(:config){ {:prerelease => true }} - it "supplies --prerelease as the version string" do - bootstrap_context.bootstrap_version_string.should eq '--prerelease' - end - end - - describe "when installing an explicit version of chef" do - let(:chef_config) do - { - :knife => { :bootstrap_version => '123.45.678' } - } - end - it "gives --version $VERSION as the version string" do - bootstrap_context.bootstrap_version_string.should eq '--version 123.45.678' - end - end - describe "when JSON attributes are given" do let(:config) { {:first_boot_attributes => {:baz => :quux}} } it "adds the attributes to first_boot" do |