From 0bd57995420615e81d74665e66b5a1937ba97792 Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Tue, 8 Apr 2008 00:02:39 -0500 Subject: Fixing one other test that was failing because of the change to Indirection#destroy. --- spec/unit/indirector/checksum/file.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/spec/unit/indirector/checksum/file.rb b/spec/unit/indirector/checksum/file.rb index 3a82faccc..64425904f 100755 --- a/spec/unit/indirector/checksum/file.rb +++ b/spec/unit/indirector/checksum/file.rb @@ -128,13 +128,11 @@ describe Puppet::Checksum::File do end describe Puppet::Checksum::File, " when deleting files" do - it "should remove the file at the calculated path" do File.expects(:exist?).with(@path).returns(true) File.expects(:unlink).with(@path) - file = stub 'file', :name => @value - @store.destroy(file) + @store.destroy(@value) end end end -- cgit