diff options
Diffstat (limited to 'spec')
-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 |