summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-02-14 12:04:12 -0600
committerLuke Kanies <luke@madstop.com>2009-02-14 12:24:42 -0600
commit3ef58490204a309acd2d0a3dde4b6500a4f4a569 (patch)
tree37dcdfb464555e62fa1aef548783fa8d7773e716 /test
parent72bd378d62504cefda02f106954302de7c3600ca (diff)
downloadpuppet-3ef58490204a309acd2d0a3dde4b6500a4f4a569.tar.gz
puppet-3ef58490204a309acd2d0a3dde4b6500a4f4a569.tar.xz
puppet-3ef58490204a309acd2d0a3dde4b6500a4f4a569.zip
Fixing a test I broke in commit:"897539e857b0da9145f15648b6aa2ef124ec1a19".
I hadn't removed the call to 'prefetch' on the instance in the test. Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'test')
-rwxr-xr-xtest/ral/manager/type.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/ral/manager/type.rb b/test/ral/manager/type.rb
index c6efe4f00..6e8edfb98 100755
--- a/test/ral/manager/type.rb
+++ b/test/ral/manager/type.rb
@@ -736,14 +736,11 @@ class TestType < Test::Unit::TestCase
end
cleanup { Puppet::Type.rmtype(:faketype) }
faketype.provide(:fake) do
- def prefetch
- end
end
obj = faketype.create :name => "yayness", :provider => :fake
assert(obj, "did not create object")
- obj.provider.expects(:prefetch)
obj.expects(:retrieve)
obj.expects(:propertychanges).returns([])
obj.expects(:cache)