summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/client/tc_client.rb2
-rw-r--r--test/types/tc_file.rb1
-rw-r--r--test/types/tc_service.rb7
3 files changed, 8 insertions, 2 deletions
diff --git a/test/client/tc_client.rb b/test/client/tc_client.rb
index 9a78147fa..4586ea111 100644
--- a/test/client/tc_client.rb
+++ b/test/client/tc_client.rb
@@ -16,7 +16,7 @@ class TestClient < Test::Unit::TestCase
def test_local
client = nil
assert_nothing_raised() {
- client = Blink::Client.new(:Local => true)
+ client = Blink::Client.new(:Listen => false)
}
facts = %w{operatingsystem operatingsystemrelease}
diff --git a/test/types/tc_file.rb b/test/types/tc_file.rb
index e3079a560..9be428eb9 100644
--- a/test/types/tc_file.rb
+++ b/test/types/tc_file.rb
@@ -58,7 +58,6 @@ class TestFile < Test::Unit::TestCase
def test_group
[%x{groups}.chomp.split(/ /), Process.groups].flatten.each { |group|
- puts "Testing %s" % group
assert_nothing_raised() {
@file[:group] = group
}
diff --git a/test/types/tc_service.rb b/test/types/tc_service.rb
index d0e18cb25..287f23178 100644
--- a/test/types/tc_service.rb
+++ b/test/types/tc_service.rb
@@ -50,6 +50,13 @@ class TestService < Test::Unit::TestCase
}
assert(@sleeper.insync?)
+ # test refreshing it
+ assert_nothing_raised() {
+ @sleeper.refresh
+ }
+
+ assert(@sleeper.respond_to?(:refresh))
+
# now stop it
assert_nothing_raised() {
@sleeper[:running] = 0