summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsersut <serdar@opscode.com>2014-07-14 16:23:43 -0700
committersersut <serdar@opscode.com>2014-07-14 16:23:43 -0700
commit1c53ca8ca325cc393d470f19e4b359936055cec0 (patch)
tree3980eddc5c66848b821e86f3775571db22f73a4a
parente3a378695aa174f1f95455643a2240d903797640 (diff)
downloadchef-1c53ca8ca325cc393d470f19e4b359936055cec0.tar.gz
Turn the not applicable 0.0.0.0 address spec on windows.
-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 02a7932074..9127edc6b5 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