[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5

Nick Lewis nick at puppetlabs.com
Tue May 10 08:16:05 UTC 2011


The following commit has been merged in the experimental branch:
commit d85c2a8ed1423f11b2c91e084765a81aebfeb2fc
Author: Nick Lewis <nick at puppetlabs.com>
Date:   Fri Apr 15 16:10:01 2011 -0700

    maint: Fix the missed failure from the previous commit
    
    There were two times being used, and the previous fix only fixed one of them.
    
    Reviewed-By: Jacob Helwig

diff --git a/spec/unit/node/facts_spec.rb b/spec/unit/node/facts_spec.rb
index ab462b3..1b6991c 100755
--- a/spec/unit/node/facts_spec.rb
+++ b/spec/unit/node/facts_spec.rb
@@ -126,7 +126,7 @@ describe Puppet::Node::Facts, "when indirecting" do
         Time.stubs(:now).returns(@timestamp)
         facts = Puppet::Node::Facts.new("foo", {'a' => 1, 'b' => 2, 'c' => 3})
         facts.expiration = @expiration
-        facts.to_pson.should == %Q[{"data":{"name":"foo","timestamp":"#{@timestamp}","expiration":"Thu Oct 28 11:21:31 -0700 2010","values":{"a":1,"b":2,"c":3}},"document_type":"Puppet::Node::Facts"}]
+        facts.to_pson.should == %Q[{"data":{"name":"foo","timestamp":"#{@timestamp}","expiration":"#{@expiration}","values":{"a":1,"b":2,"c":3}},"document_type":"Puppet::Node::Facts"}]
       end
 
       it "should not include nil values" do

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list