spec/functional/bootstrap_download_spec.rb in knife-windows-1.0.0.rc.2 vs spec/functional/bootstrap_download_spec.rb in knife-windows-1.0.0
- old
+ new
@@ -145,11 +145,11 @@
# Download should succeed
expect(download_succeeded?).to be true
end
end
-describe "bootstrap_install_command functionality through WinRM protocol", :if_chef_11 => true do
+describe "bootstrap_install_command functionality through WinRM protocol", :if_chef_11 => true, :chef_lt_12_5_only => true do
context "bootstrap_install_command option is not specified" do
let(:bootstrap) { Chef::Knife::BootstrapWindowsWinrm.new([]) }
before do
@template_input = sample_data('win_template_unrendered.txt')
@template_output = sample_data('win_template_rendered_without_bootstrap_install_command.txt')
@@ -179,11 +179,11 @@
Chef::Config[:knife].delete(:bootstrap_install_command)
end
end
end
-describe "bootstrap_install_command functionality through SSH protocol", :if_chef_11 => true do
+describe "bootstrap_install_command functionality through SSH protocol", :if_chef_11 => true, :chef_lt_12_5_only => true do
context "bootstrap_install_command option is not specified" do
let(:bootstrap) { Chef::Knife::BootstrapWindowsSsh.new([]) }
before do
@template_input = sample_data('win_template_unrendered.txt')
@template_output = sample_data('win_template_rendered_without_bootstrap_install_command.txt')
@@ -211,6 +211,6 @@
after do
bootstrap.config.delete(:bootstrap_install_command)
Chef::Config[:knife].delete(:bootstrap_install_command)
end
end
-end
\ No newline at end of file
+end