+1

On Aug 18, 2008, at 6:15 AM, Paul Nasrat wrote:

>
>
> Signed-off-by: Paul Nasrat <[EMAIL PROTECTED]>
> ---
> lib/facter/util/resolution.rb |    2 +-
> spec/unit/util/resolution.rb  |    4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/lib/facter/util/resolution.rb b/lib/facter/util/ 
> resolution.rb
> index 4d0a8d1..19f2c1e 100644
> --- a/lib/facter/util/resolution.rb
> +++ b/lib/facter/util/resolution.rb
> @@ -67,7 +67,7 @@ class Facter::Util::Resolution
>         @name = name
>         @confines = []
>         @value = nil
> -        @timeout = 0.5
> +        @timeout = 0
>     end
>
>     # Return the number of confines.
> diff --git a/spec/unit/util/resolution.rb b/spec/unit/util/ 
> resolution.rb
> index 617b4dc..5ce3d63 100755
> --- a/spec/unit/util/resolution.rb
> +++ b/spec/unit/util/resolution.rb
> @@ -21,8 +21,8 @@ describe Facter::Util::Resolution do
>         Facter::Util::Resolution.new("yay").should  
> respond_to(:timeout=)
>     end
>
> -    it "should default to a timeout of 0.5 seconds" do
> -        Facter::Util::Resolution.new("yay").limit.should == 0.5
> +    it "should default to a timeout of 0 seconds" do
> +        Facter::Util::Resolution.new("yay").limit.should == 0
>     end
>
>     it "should provide a 'limit' method that returns the timeout" do
> -- 
> 1.5.3.4
>
>
> >


-- 
No one who cannot rejoice in the discovery of his own mistakes
deserves to be called a scholar. --Donald Foster
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to