From f1727f18ab933df9ecbecc2da8fad72eb441e0d5 Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Wed, 22 Aug 2007 16:14:39 -0500 Subject: Adding the topscope metadata to the configuration being returned to the client, just like it expects, and fixing how the resource handler calls the master type. --- test/network/client/client.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'test/network/client') diff --git a/test/network/client/client.rb b/test/network/client/client.rb index 14c90f2a9..3f540d10f 100755 --- a/test/network/client/client.rb +++ b/test/network/client/client.rb @@ -164,15 +164,10 @@ class TestClient < Test::Unit::TestCase # Fake that it's local, so it creates the class file client.local = false + client.expects(:setclasses).with(%w{yaytest bootest}) assert_nothing_raised { client.getconfig } - - assert(FileTest.exists?(Puppet[:classfile]), "Class file does not exist") - - classes = File.read(Puppet[:classfile]).split("\n") - - assert_equal(%w{bootest yaytest}, classes.sort) end def test_client_loading -- cgit