summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xspec/integration/checksum.rb2
-rwxr-xr-xspec/integration/node.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/integration/checksum.rb b/spec/integration/checksum.rb
index cb187c656..c94f3e47e 100755
--- a/spec/integration/checksum.rb
+++ b/spec/integration/checksum.rb
@@ -38,7 +38,7 @@ describe Puppet::Checksum, " when using the file terminus" do
File.stubs(:exist?).returns(true)
File.expects(:unlink).with(@file)
- Puppet::Checksum.destroy(@sum)
+ Puppet::Checksum.destroy(@sum.name)
end
after do
diff --git a/spec/integration/node.rb b/spec/integration/node.rb
index 631d4403e..d9c2618c9 100755
--- a/spec/integration/node.rb
+++ b/spec/integration/node.rb
@@ -34,7 +34,7 @@ describe Puppet::Node, " when using the memory terminus" do
it "should be able to remove previously saved nodes" do
@node.save
- Puppet::Node.destroy(@node)
+ Puppet::Node.destroy(@node.name)
Puppet::Node.find(@name).should be_nil
end