summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-09-02 18:10:46 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-09-02 18:10:46 +0000
commit114debdd0eb872b40e8b7d9019e62c5010617afa (patch)
tree0d366462ca3ab22f5e9268e08d970c267abff93d /test
parent2802b70bbc54a833e90c6f2601fdb75f32a9cf98 (diff)
downloadpuppet-114debdd0eb872b40e8b7d9019e62c5010617afa.tar.gz
puppet-114debdd0eb872b40e8b7d9019e62c5010617afa.tar.xz
puppet-114debdd0eb872b40e8b7d9019e62c5010617afa.zip
batch of small bug fixes
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1527 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test')
-rw-r--r--test/puppettest.rb4
-rw-r--r--test/types/service.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/test/puppettest.rb b/test/puppettest.rb
index 9ff8e5c46..f094045cd 100644
--- a/test/puppettest.rb
+++ b/test/puppettest.rb
@@ -69,6 +69,10 @@ module TestPuppet
true
end
+ def clear
+ @model = nil
+ end
+
def initialize(model)
@model = model
end
diff --git a/test/types/service.rb b/test/types/service.rb
index 176f84818..e1d2629a2 100644
--- a/test/types/service.rb
+++ b/test/types/service.rb
@@ -167,7 +167,7 @@ class TestLocalService < Test::Unit::TestCase
# test refreshing it
assert_nothing_raised() {
- service.provider.refresh
+ service.refresh
}
# now stop it