summaryrefslogtreecommitdiffstats
path: root/spec/integration/node
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-05-20 10:19:10 -0500
committerLuke Kanies <luke@madstop.com>2008-05-20 10:19:10 -0500
commitfe157f239a301abb52f81c62719355c8e50c970c (patch)
tree2ff683d14dbf5c95a99410fe1d12300368cf497e /spec/integration/node
parent3cb0d60d3d0870f1d9ac83e5dbeaa06d2888231f (diff)
parent84a787a2a764a5035f7cbb8d30f94fc601bed154 (diff)
downloadpuppet-fe157f239a301abb52f81c62719355c8e50c970c.tar.gz
puppet-fe157f239a301abb52f81c62719355c8e50c970c.tar.xz
puppet-fe157f239a301abb52f81c62719355c8e50c970c.zip
Merge branch '0.24.x'
Conflicts: CHANGELOG spec/integration/defaults.rb spec/integration/node/catalog.rb spec/unit/rails.rb spec/unit/type/mount.rb
Diffstat (limited to 'spec/integration/node')
-rwxr-xr-xspec/integration/node/catalog.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/integration/node/catalog.rb b/spec/integration/node/catalog.rb
index b0e651511..285b85869 100755
--- a/spec/integration/node/catalog.rb
+++ b/spec/integration/node/catalog.rb
@@ -8,6 +8,12 @@ require File.dirname(__FILE__) + '/../../spec_helper'
describe Puppet::Node::Catalog do
describe "when using the indirector" do
after { Puppet::Util::Cacher.invalidate }
+ before do
+ # This is so the tests work w/out networking.
+ Facter.stubs(:to_hash).returns({"hostname" => "foo.domain.com"})
+ Facter.stubs(:value).returns("eh")
+ end
+
it "should be able to delegate to the :yaml terminus" do
Puppet::Node::Catalog.indirection.stubs(:terminus_class).returns :yaml