summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-04-08 00:02:39 -0500
committerLuke Kanies <luke@madstop.com>2008-04-08 11:33:50 -0500
commit0bd57995420615e81d74665e66b5a1937ba97792 (patch)
tree99c76ff9adb0248f8e426fd7998d4ab6b74730c3 /spec
parent941177a4902f4bfe7b8b3f528ce6648752f5409c (diff)
downloadpuppet-0bd57995420615e81d74665e66b5a1937ba97792.tar.gz
puppet-0bd57995420615e81d74665e66b5a1937ba97792.tar.xz
puppet-0bd57995420615e81d74665e66b5a1937ba97792.zip
Fixing one other test that was failing because of the change
to Indirection#destroy.
Diffstat (limited to 'spec')
-rwxr-xr-xspec/unit/indirector/checksum/file.rb4
1 files changed, 1 insertions, 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