summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Lewis <nick@puppetlabs.com>2011-03-04 14:25:07 -0800
committerNick Lewis <nick@puppetlabs.com>2011-03-04 14:25:07 -0800
commite8145f91debc863b341a270e1d8cff6c43d93ef5 (patch)
tree9389d07216b03947f9f353aa7bcbef5f2c8c76d1
parenta75d4fab5260b7cbef78a5b352d10e29bbfe7796 (diff)
parente3aec14c2ede8ea9b6b1c1684755c715b9923295 (diff)
downloadpuppet-e8145f91debc863b341a270e1d8cff6c43d93ef5.tar.gz
Merge branch 'ticket/2.6.next/6602' into 2.6.next
-rwxr-xr-xspec/unit/node/facts_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/node/facts_spec.rb b/spec/unit/node/facts_spec.rb
index 19049e9bf..cb2aa3dc7 100755
--- a/spec/unit/node/facts_spec.rb
+++ b/spec/unit/node/facts_spec.rb
@@ -130,7 +130,7 @@ describe Puppet::Node::Facts, "when indirecting" do
facts = Puppet::Node::Facts.new("foo", {'a' => 1, 'b' => 2, 'c' => 3})
facts.expiration = @expiration
pson = PSON.parse(facts.to_pson)
- pson.should == {"name"=>"foo", "timestamp"=>"Thu Oct 28 11:16:31 -0700 2010", "expiration"=>"Thu Oct 28 11:21:31 -0700 2010", "values"=>{"a"=>1, "b"=>2, "c"=>3}}
+ pson.should == {"name"=>"foo", "timestamp"=>@timestamp.to_s, "expiration"=>@expiration.to_s, "values"=>{"a"=>1, "b"=>2, "c"=>3}}
end
end
end