[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35

Markus Roberts Markus at reality.com
Wed Jul 14 10:35:11 UTC 2010


The following commit has been merged in the upstream branch:
commit 3b4d33c7aa3be37fc8d82cd3357612c577db3e48
Author: Jesse Wolfe <jes5199 at gmail.com>
Date:   Thu Jun 24 12:10:21 2010 -0700

    remove tests for removed code

diff --git a/spec/unit/util/autoload/file_cache_spec.rb b/spec/unit/util/autoload/file_cache_spec.rb
index 59620ed..d52ea45 100755
--- a/spec/unit/util/autoload/file_cache_spec.rb
+++ b/spec/unit/util/autoload/file_cache_spec.rb
@@ -156,28 +156,4 @@ describe Puppet::Util::Autoload::FileCache do
             other.should be_directory_exist("/my/file")
         end
     end
-
-    describe "when checking whether a named file exists" do
-        it "should have a method for testing whether a named file is missing" do
-            @cacher.should respond_to(:named_file_missing?)
-        end
-
-        it "should have a method for registering that a named file is missing" do
-            @cacher.should respond_to(:named_file_is_missing)
-        end
-
-        it "should cache that a file is missing for 15 seconds" do
-            now = Time.now
-
-            later = now + 16
-
-            Time.expects(:now).times(2).returns(now).then.returns(later)
-            @cacher.named_file_is_missing("foo")
-            @cacher.should_not be_named_file_missing("foo")
-        end
-
-        it "should return false when registering a file as missing" do
-            @cacher.named_file_is_missing("foo").should be_false
-        end
-    end
 end

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list