diff options
author | Bryan McLellan <btm@loftninjas.org> | 2013-06-20 15:44:58 -0400 |
---|---|---|
committer | Bryan McLellan <btm@loftninjas.org> | 2013-06-20 15:44:58 -0400 |
commit | 9dbaf13f6af20b1dcd3f76337b74ab006b401cab (patch) | |
tree | 883aa6bef8e552669a595c68e60ab3e1dd23112b | |
parent | 25dbcb9a37a82bdd732b6ed4c50a8a4ba906b087 (diff) | |
download | chef-9dbaf13f6af20b1dcd3f76337b74ab006b401cab.tar.gz |
Stub that /etc/network/interfaces really is there [on windows]
-rw-r--r-- | spec/unit/provider/ifconfig/debian_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/provider/ifconfig/debian_spec.rb b/spec/unit/provider/ifconfig/debian_spec.rb index fc5395aef8..617e840e1f 100644 --- a/spec/unit/provider/ifconfig/debian_spec.rb +++ b/spec/unit/provider/ifconfig/debian_spec.rb @@ -52,6 +52,7 @@ describe Chef::Provider::Ifconfig::Debian do File.should_receive(:new).with(@config_filename_ifaces).and_return(StringIO.new) File.should_receive(:open).with(@config_filename_ifaces, "w").and_yield(@config_file_ifaces) File.should_receive(:new).with(@config_filename_ifcfg, "w").and_return(@config_file_ifcfg) + File.should_receive(:exist?).with(@config_filename_ifaces).and_return(true) end it "should create network-scripts directory" do |