diff options
| author | Luke Kanies <luke@madstop.com> | 2008-12-09 15:33:28 -0600 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2008-12-18 11:10:21 -0600 |
| commit | d48fff6658535ca1781443aba9ab21893c13e55c (patch) | |
| tree | 4fcfd8b502a0f23f057a6e0695f466195978f366 /test/network | |
| parent | c927ce05bbd96fa9aacc8e52f8eb797403a1e433 (diff) | |
| download | puppet-d48fff6658535ca1781443aba9ab21893c13e55c.tar.gz puppet-d48fff6658535ca1781443aba9ab21893c13e55c.tar.xz puppet-d48fff6658535ca1781443aba9ab21893c13e55c.zip | |
Renaming Puppet::Node::Catalog to Puppet::Resource::Catalog
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'test/network')
| -rwxr-xr-x | test/network/handler/master.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/network/handler/master.rb b/test/network/handler/master.rb index 8e55f104c..a802b0a0a 100755 --- a/test/network/handler/master.rb +++ b/test/network/handler/master.rb @@ -13,7 +13,7 @@ class TestMaster < Test::Unit::TestCase @master = Puppet::Network::Handler.master.new(:Manifest => tempfile) @catalog = stub 'catalog', :extract => "" - Puppet::Node::Catalog.stubs(:find).returns(@catalog) + Puppet::Resource::Catalog.stubs(:find).returns(@catalog) end def teardown @@ -53,7 +53,7 @@ class TestMaster < Test::Unit::TestCase @master.stubs(:decode_facts) - Puppet::Node::Catalog.expects(:find).with("foo.com").returns(@catalog) + Puppet::Resource::Catalog.expects(:find).with("foo.com").returns(@catalog) @master.getconfig("facts", "yaml", "foo.com") end @@ -68,7 +68,7 @@ class TestMasterFormats < Test::Unit::TestCase @master.stubs(:decode_facts) @catalog = stub 'catalog', :extract => "" - Puppet::Node::Catalog.stubs(:find).returns(@catalog) + Puppet::Resource::Catalog.stubs(:find).returns(@catalog) end def test_marshal_can_be_used |
