summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2005-05-21 23:07:57 +0000
committerLuke Kanies <luke@madstop.com>2005-05-21 23:07:57 +0000
commit03741b41b3fba65d10c9adafd8969913876e28d2 (patch)
treeb9683cdb933bd71895e4fff68f13e45197131a4f /test
parent4a4438dbf226335ea3c885a4ced32174d4123542 (diff)
downloadpuppet-03741b41b3fba65d10c9adafd8969913876e28d2.tar.gz
puppet-03741b41b3fba65d10c9adafd8969913876e28d2.tar.xz
puppet-03741b41b3fba65d10c9adafd8969913876e28d2.zip
we now have networking
it is very basic right now: the server gets passed a file name, and the client gets passed the server to which to connect. The client gets its config, evaluates it, and exits git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@266 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test')
-rw-r--r--test/client/tc_client.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/client/tc_client.rb b/test/client/tc_client.rb
index 54da3dc6a..9a78147fa 100644
--- a/test/client/tc_client.rb
+++ b/test/client/tc_client.rb
@@ -16,14 +16,14 @@ class TestClient < Test::Unit::TestCase
def test_local
client = nil
assert_nothing_raised() {
- client = Blink::Client::Local.new()
+ client = Blink::Client.new(:Local => true)
}
facts = %w{operatingsystem operatingsystemrelease}
facts.each { |fact|
assert_equal(
Blink::Fact[fact],
- client.callfunc("retrieve",fact)
+ client.callfunc("fact",fact)
)
}
end