@puppetmasterd.options[:node] leaks from test to test

Signed-off-by: Jesse Wolfe <[email protected]>
---
 spec/unit/application/puppetmasterd.rb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/spec/unit/application/puppetmasterd.rb 
b/spec/unit/application/puppetmasterd.rb
index 9801387..f522fcc 100644
--- a/spec/unit/application/puppetmasterd.rb
+++ b/spec/unit/application/puppetmasterd.rb
@@ -237,6 +237,7 @@ describe "PuppetMaster" do
 
         it "should dispatch to parseonly if parseonly is set" do
             Puppet.stubs(:[]).with(:parseonly).returns(true)
+            @puppetmasterd.options[:node] = nil
 
             @puppetmasterd.get_command.should == :parseonly
         end
-- 
1.6.5

--

You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.


Reply via email to