From 4032a270d90ef93b39ed1df17ebe1040a11128b9 Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Tue, 8 Apr 2008 00:20:26 -0500 Subject: Fixing the integration tests related to the destroy fix. Yay. --- spec/integration/checksum.rb | 2 +- spec/integration/node.rb | 2 +- 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 -- cgit