[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.6-1-356-g5718585

Luke Kanies luke at madstop.com
Fri Jan 23 14:21:22 UTC 2009


The following commit has been merged in the master branch:
commit a5fe87fb3c54dd0dfa20e6220cc76c7969c27d03
Author: Luke Kanies <luke at madstop.com>
Date:   Wed Oct 8 22:04:49 2008 -0500

    Fixing a file source test that was failing because missing sources is now a failure
    
    Signed-off-by: Luke Kanies <luke at madstop.com>

diff --git a/test/ral/type/filesources.rb b/test/ral/type/filesources.rb
index 77b5981..24bc0b9 100755
--- a/test/ral/type/filesources.rb
+++ b/test/ral/type/filesources.rb
@@ -292,11 +292,9 @@ class TestFileSources < Test::Unit::TestCase
         # Lastly, make sure we return an empty array when no sources are there
         obj[:source] = [nosource, tempfile()]
         
-        assert_nothing_raised do
+        assert_raise(Puppet::Error) do
             result, sourced = obj.sourcerecurse(true)
         end
-        assert_equal([], sourced, "Did not get correct list of sourced objects")
-        assert_equal([], result, "Sourcerecurse failed when all sources are missing")
     end
 
     def test_simplelocalsource

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list