[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.7-1-98-gf19c0e5

Luke Kanies luke at madstop.com
Wed Apr 8 21:48:15 UTC 2009


The following commit has been merged in the master branch:
commit 3ef58490204a309acd2d0a3dde4b6500a4f4a569
Author: Luke Kanies <luke at madstop.com>
Date:   Sat Feb 14 12:04:12 2009 -0600

    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 at madstop.com>

diff --git a/test/ral/manager/type.rb b/test/ral/manager/type.rb
index c6efe4f..6e8edfb 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)

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list