[Pkg-puppet-devel] [facter] 209/352: (maint) Remove test which tests nothing (but can provoke a failure in tests run after it)

Stig Sandbeck Mathisen ssm at debian.org
Sun Apr 6 22:21:46 UTC 2014


This is an automated email from the git hooks/post-receive script.

ssm pushed a commit to branch master
in repository facter.

commit 6258ae04da56fdf9af4c77f3219ec1511f04c163
Author: Kylo Ginsberg <kylo at puppetlabs.com>
Date:   Tue Feb 4 13:53:02 2014 -0800

    (maint) Remove test which tests nothing (but can provoke a failure in tests run after it)
---
 spec/unit/core/resolvable_spec.rb | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/spec/unit/core/resolvable_spec.rb b/spec/unit/core/resolvable_spec.rb
index 5555974..a35bce5 100644
--- a/spec/unit/core/resolvable_spec.rb
+++ b/spec/unit/core/resolvable_spec.rb
@@ -55,14 +55,6 @@ describe Facter::Core::Resolvable do
       subject.value
     end
 
-    it "times out after the provided timeout" do
-      def subject.resolve_value
-        sleep 2
-      end
-      subject.timeout = 0.1
-      subject.value
-    end
-
     it "returns nil if the timeout was reached" do
       Timeout.expects(:timeout).raises Timeout::Error
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-puppet/facter.git



More information about the Pkg-puppet-devel mailing list