summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/autoload.rb
diff options
context:
space:
mode:
authorMatt Robinson <matt@puppetlabs.com>2010-11-08 09:41:13 -0800
committerMarkus Roberts <Markus@reality.com>2010-11-08 19:52:16 -0800
commitaad700802b9a82dd17dd3f7c7e2557c432ac2aad (patch)
treeeaa48f5002b1de6e3ed5380fec03541f4cc8fb8e /lib/puppet/util/autoload.rb
parent21db472640c8e606565c9693d4737f40a1bf8cce (diff)
downloadpuppet-aad700802b9a82dd17dd3f7c7e2557c432ac2aad.tar.gz
puppet-aad700802b9a82dd17dd3f7c7e2557c432ac2aad.tar.xz
puppet-aad700802b9a82dd17dd3f7c7e2557c432ac2aad.zip
[#5225] Fix spec failure that depended on time change
Turns out that: zero = Time.now # Reset the current time to X:00:00 current = zero - (zero.hour * 3600) - (zero.min * 60) - zero.sec current is actually 1am on a day where the time falls back (Nov 7th), not midnight as the test expected. Reviewed-by: Paul Berry <paul@puppetlabs.com>
Diffstat (limited to 'lib/puppet/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions