diff options
author | Luke Kanies <luke@madstop.com> | 2008-04-08 00:20:26 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-04-08 11:33:50 -0500 |
commit | 4032a270d90ef93b39ed1df17ebe1040a11128b9 (patch) | |
tree | 7317f1ffe7d001bbd8a9a935b1d4787344e3f84f /spec | |
parent | 0bd57995420615e81d74665e66b5a1937ba97792 (diff) | |
download | puppet-4032a270d90ef93b39ed1df17ebe1040a11128b9.tar.gz puppet-4032a270d90ef93b39ed1df17ebe1040a11128b9.tar.xz puppet-4032a270d90ef93b39ed1df17ebe1040a11128b9.zip |
Fixing the integration tests related to the destroy fix. Yay.
Diffstat (limited to 'spec')
-rwxr-xr-x | spec/integration/checksum.rb | 2 | ||||
-rwxr-xr-x | 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 |