summaryrefslogtreecommitdiffstats
path: root/spec/integration/node.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-04-08 00:20:26 -0500
committerLuke Kanies <luke@madstop.com>2008-04-08 11:33:50 -0500
commit4032a270d90ef93b39ed1df17ebe1040a11128b9 (patch)
tree7317f1ffe7d001bbd8a9a935b1d4787344e3f84f /spec/integration/node.rb
parent0bd57995420615e81d74665e66b5a1937ba97792 (diff)
downloadpuppet-4032a270d90ef93b39ed1df17ebe1040a11128b9.tar.gz
puppet-4032a270d90ef93b39ed1df17ebe1040a11128b9.tar.xz
puppet-4032a270d90ef93b39ed1df17ebe1040a11128b9.zip
Fixing the integration tests related to the destroy fix. Yay.
Diffstat (limited to 'spec/integration/node.rb')
-rwxr-xr-xspec/integration/node.rb2
1 files changed, 1 insertions, 1 deletions
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