Skip to content

Commit 3206626

Browse files
committed
Fix tests per chefspec/chefspec#766
1 parent e0e6573 commit 3206626

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cookbooks/fb_networkmanager/spec/default_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030
before(:each) do
3131
allow(mock_so).to receive(:run_command).and_return(mock_so)
32+
allow(File).to receive(:exist?).and_call_original
3233
allow(File).to receive(:exist?).with('/usr/bin/nmcli').
3334
and_return(true)
3435
end

0 commit comments

Comments
 (0)