summaryrefslogtreecommitdiff
path: root/spec/integration/knife/common_options_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/integration/knife/common_options_spec.rb')
-rw-r--r--spec/integration/knife/common_options_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/integration/knife/common_options_spec.rb b/spec/integration/knife/common_options_spec.rb
index c9b16d50c0..e6b90613e5 100644
--- a/spec/integration/knife/common_options_spec.rb
+++ b/spec/integration/knife/common_options_spec.rb
@@ -50,7 +50,8 @@ describe 'knife common options' do
end
end
- context 'And chef_zero.host is 0.0.0.0' do
+ # 0.0.0.0 is not a valid address to bind to on windows.
+ context 'And chef_zero.host is 0.0.0.0', :unix_only do
before(:each) { Chef::Config.chef_zero.host = '0.0.0.0' }
it 'knife raw /nodes/x should retrieve the role' do