summaryrefslogtreecommitdiffstats
path: root/spec/integration/node.rb
diff options
context:
space:
mode:
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