diff options
author | sersut <serdar@opscode.com> | 2014-07-14 16:23:43 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-07-23 16:29:34 -0700 |
commit | 9954314726362b4bc7ce23b8330802c3c0a7fc77 (patch) | |
tree | 262bbd82e6180e33498cc62444d3f0a628808254 /spec | |
parent | b596f058f9720ec1bd52f4f6495e9d9fa4a8a873 (diff) | |
download | chef-9954314726362b4bc7ce23b8330802c3c0a7fc77.tar.gz |
Turn the not applicable 0.0.0.0 address spec on windows.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/integration/knife/common_options_spec.rb | 3 |
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 |