spec/integration/node_spec.rb in puppet-2.7.3 vs spec/integration/node_spec.rb in puppet-2.7.4
- old
+ new
@@ -1,16 +1,15 @@
#!/usr/bin/env rspec
-#
-# Created by Luke Kanies on 2007-9-23.
-# Copyright (c) 2007. All rights reserved.
-
require 'spec_helper'
require 'puppet/node'
describe Puppet::Node do
describe "when delegating indirection calls" do
before do
+ Puppet::Node.indirection.reset_terminus_class
+ Puppet::Node.indirection.cache_class = nil
+
@name = "me"
@node = Puppet::Node.new(@name)
end
it "should be able to use the exec terminus" do